summaryrefslogtreecommitdiffabout
path: root/src/var.c
authorSergey Poznyakoff <gray@gnu.org.ua>2015-11-02 14:17:11 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-11-02 14:17:11 (GMT)
commite17c2228fecf721144f02c6f53b15ba3543112c5 (patch) (side-by-side diff)
tree4dadda0b38f1e0abaf32422827b35e91bdbcd03e /src/var.c
parent75bf6f2d26bee013ecbf9e21af4248811a4e2ec7 (diff)
downloadgdbm-e17c2228fecf721144f02c6f53b15ba3543112c5.tar.gz
gdbm-e17c2228fecf721144f02c6f53b15ba3543112c5.tar.bz2
Minor fix
Diffstat (limited to 'src/var.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/var.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/var.c b/src/var.c
index fb6ecf0..1194d81 100644
--- a/src/var.c
+++ b/src/var.c
@@ -52,14 +52,14 @@ static struct variable vartab[] = {
{ "delim1", VART_STRING, VARF_INIT|VARF_PROT, { "," } },
/* This delimits structure members */
{ "delim2", VART_STRING, VARF_INIT|VARF_PROT, { "," } },
- { "confirm", VART_BOOL, VARF_INIT, { num: 1 } },
+ { "confirm", VART_BOOL, VARF_INIT, { .num = 1 } },
{ "cachesize", VART_INT, VARF_DFL },
{ "blocksize", VART_INT, VARF_DFL },
{ "open", VART_STRING, VARF_DFL, { NULL }, open_hook },
- { "lock", VART_BOOL, VARF_INIT, { num: 1 } },
- { "mmap", VART_BOOL, VARF_INIT, { num: 1 } },
- { "sync", VART_BOOL, VARF_INIT, { num: 0 } },
- { "filemode", VART_INT, VARF_INIT|VARF_OCTAL|VARF_PROT, { num: 0644 } },
+ { "lock", VART_BOOL, VARF_INIT, { .num = 1 } },
+ { "mmap", VART_BOOL, VARF_INIT, { .num = 1 } },
+ { "sync", VART_BOOL, VARF_INIT, { .num = 0 } },
+ { "filemode", VART_INT, VARF_INIT|VARF_OCTAL|VARF_PROT, { .num = 0644 } },
{ "pager", VART_STRING, VARF_DFL },
{ "quiet", VART_BOOL, VARF_DFL },
{ NULL }

Return to:

Send suggestions and report system problems to the System administrator.