commit e4e85ed3a0c13b8944182c235229db82684a60d7
parent 6360e969d67c05c7bffc161eacaabf5ec0de6be1
Author: Anselm R. Garbe <arg@10kloc.org>
Date: Mon, 16 Oct 2006 17:16:00 +0200
a C compliance patch for fs.c
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs.c b/fs.c
@@ -123,12 +123,12 @@ dirtab_tag[]= {{".", P9QTDIR, FsDTag, 0500|P9DMDIR },
* removes the need for casting and allows for C90 conformance,
* since otherwise we would need to use compound literals */
static Dirtab *dirtab[] = {
- [FsRoot] dirtab_root,
- [FsDBars] dirtab_bars,
- [FsDClients] dirtab_clients,
- [FsDClient] dirtab_client,
- [FsDTags] dirtab_tags,
- [FsDTag] dirtab_tag,
+ [FsRoot] = dirtab_root,
+ [FsDBars] = dirtab_bars,
+ [FsDClients] = dirtab_clients,
+ [FsDClient] = dirtab_client,
+ [FsDTags] = dirtab_tags,
+ [FsDTag] = dirtab_tag,
};
/* Utility Functions */