diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-28 18:10:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-28 18:10:49 +0000 |
commit | 77c6ac360f94f01b8674632cd44434b4c8c3bea8 (patch) | |
tree | 7967b48b2d4aa62941e3cd8643598ff2d42c4888 | |
parent | 8d90b78f17dbb4cb7abb329b355e66e14418274b (diff) | |
download | coreutils-77c6ac360f94f01b8674632cd44434b4c8c3bea8.tar.xz |
(long_options): Use NULL, not `0'.
-rw-r--r-- | src/stat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/stat.c b/src/stat.c index a3cc0945e..45b504ef0 100644 --- a/src/stat.c +++ b/src/stat.c @@ -100,12 +100,12 @@ #define AUTHORS "Michael Meskes" static struct option const long_options[] = { - {"link", no_argument, 0, 'l'}, /* deprecated. FIXME: remove in 2003 */ - {"dereference", no_argument, 0, 'L'}, - {"file-system", no_argument, 0, 'f'}, - {"filesystem", no_argument, 0, 'f'}, /* obsolete and undocumented alias */ - {"format", required_argument, 0, 'c'}, - {"terse", no_argument, 0, 't'}, + {"link", no_argument, NULL, 'l'}, /* deprecated. FIXME: remove in 2003 */ + {"dereference", no_argument, NULL, 'L'}, + {"file-system", no_argument, NULL, 'f'}, + {"filesystem", no_argument, NULL, 'f'}, /* obsolete and undocumented alias */ + {"format", required_argument, NULL, 'c'}, + {"terse", no_argument, NULL, 't'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, {NULL, 0, NULL, 0} |