From: Jim Meyering Date: Mon, 28 Mar 2005 18:08:45 +0000 (+0000) Subject: (longopts): Use NULL, not `0'. X-Git-Tag: CPPI-1_12~1185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc9390825fb531cb3fc77cd89aec78fe4d583856;p=thirdparty%2Fcoreutils.git (longopts): Use NULL, not `0'. --- diff --git a/src/readlink.c b/src/readlink.c index d39fb66f0e..459e5a9061 100644 --- a/src/readlink.c +++ b/src/readlink.c @@ -1,5 +1,5 @@ /* readlink -- display value of a symbolic link. - Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,13 +44,13 @@ static bool verbose; static struct option const longopts[] = { - {"canonicalize", no_argument, 0, 'f'}, - {"canonicalize-existing", no_argument, 0, 'e'}, - {"canonicalize-missing", no_argument, 0, 'm'}, - {"no-newline", no_argument, 0, 'n'}, - {"quiet", no_argument, 0, 'q'}, - {"silent", no_argument, 0, 's'}, - {"verbose", no_argument, 0, 'v'}, + {"canonicalize", no_argument, NULL, 'f'}, + {"canonicalize-existing", no_argument, NULL, 'e'}, + {"canonicalize-missing", no_argument, NULL, 'm'}, + {"no-newline", no_argument, NULL, 'n'}, + {"quiet", no_argument, NULL, 'q'}, + {"silent", no_argument, NULL, 's'}, + {"verbose", no_argument, NULL, 'v'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, {NULL, 0, NULL, 0}