From: Jim Meyering Date: Mon, 28 Mar 2005 18:10:49 +0000 (+0000) Subject: (long_options): Use NULL, not `0'. X-Git-Tag: CPPI-1_12~1183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77c6ac360f94f01b8674632cd44434b4c8c3bea8;p=thirdparty%2Fcoreutils.git (long_options): Use NULL, not `0'. --- diff --git a/src/stat.c b/src/stat.c index a3cc0945e1..45b504ef04 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}