diff options
author | Michael Taylor <mctaylor@mctaylor.com> | 2004-12-12 05:22:41 +0000 |
---|---|---|
committer | Michael Taylor <mctaylor@mctaylor.com> | 2004-12-12 05:22:41 +0000 |
commit | 6c8ea5098046ec051c59e3dee2a561118c6a00f8 (patch) | |
tree | 9886b910e25cc67ad30574478a1056d773ebb929 /ax25ipd/ax25ipd.c | |
parent | fc67db05a79d429a5efe962887b286f56162e3f3 (diff) |
#include <time.h> in io.c
tidy options struct initalization
Diffstat (limited to 'ax25ipd/ax25ipd.c')
-rw-r--r-- | ax25ipd/ax25ipd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c index 8757e17..e81d877 100644 --- a/ax25ipd/ax25ipd.c +++ b/ax25ipd/ax25ipd.c @@ -35,12 +35,12 @@ int opt_help = 0; char opt_configfile[1024]; struct option options[] = { - "version", 0, &opt_version, 1, - "loglevel", 1, &opt_loglevel, 1, - "help", 0, &opt_help, 1, - "configfile", 1, NULL, 0, - "nofork", 0, &opt_nofork, 1, - 0, 0, 0, 0 + {"version", 0, &opt_version, 1}, + {"loglevel", 1, &opt_loglevel, 1}, + {"help", 0, &opt_help, 1}, + {"configfile", 1, NULL, 0}, + {"nofork", 0, &opt_nofork, 1}, + {0, 0, 0, 0} }; int main(int argc, char **argv) |