diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-28 18:05:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-28 18:05:53 +0000 |
commit | 9ac9a47b7fed9cb835789b657ed9fe4a0e879084 (patch) | |
tree | 32693685d00ebaf25996f6a8b9599cc4902c0bf0 /src | |
parent | e1a595d52115aa7e990b5019186a3de3ad7fe494 (diff) | |
download | coreutils-9ac9a47b7fed9cb835789b657ed9fe4a0e879084.tar.xz |
(longopts): Use NULL, not `0'.
Diffstat (limited to 'src')
-rw-r--r-- | src/paste.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/paste.c b/src/paste.c index 9692cb3bc..139ac599a 100644 --- a/src/paste.c +++ b/src/paste.c @@ -1,5 +1,5 @@ /* paste - merge lines of files - Copyright (C) 1997-2004 Free Software Foundation, Inc. + Copyright (C) 1997-2005 Free Software Foundation, Inc. Copyright (C) 1984 David M. Ihnat This program is free software; you can redistribute it and/or modify @@ -70,11 +70,11 @@ static char const *delim_end; static struct option const longopts[] = { - {"serial", no_argument, 0, 's'}, - {"delimiters", required_argument, 0, 'd'}, + {"serial", no_argument, NULL, 's'}, + {"delimiters", required_argument, NULL, 'd'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, - {0, 0, 0, 0} + {NULL, 0, NULL, 0} }; /* Set globals delims and delim_end. Copy STRPTR to DELIMS, converting |