summaryrefslogtreecommitdiff
path: root/src/readlink.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 18:08:45 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 18:08:45 +0000
commitdc9390825fb531cb3fc77cd89aec78fe4d583856 (patch)
treeb5dd30ab116115bfbd291d35e366ea6c87e95d78 /src/readlink.c
parent6a893f06a44984413d5667c7d839b8c5fe64d2d5 (diff)
downloadcoreutils-dc9390825fb531cb3fc77cd89aec78fe4d583856.tar.xz
(longopts): Use NULL, not `0'.
Diffstat (limited to 'src/readlink.c')
-rw-r--r--src/readlink.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/readlink.c b/src/readlink.c
index d39fb66f0..459e5a906 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}