diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-28 18:09:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-28 18:09:51 +0000 |
commit | 8d90b78f17dbb4cb7abb329b355e66e14418274b (patch) | |
tree | 0fd09343d5f8c4d5110f443dcaa324c6290b3e97 | |
parent | dc9390825fb531cb3fc77cd89aec78fe4d583856 (diff) | |
download | coreutils-8d90b78f17dbb4cb7abb329b355e66e14418274b.tar.xz |
(long_options, mergefps): Use NULL, not `0'.
-rw-r--r-- | src/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c index bb89835f0..3ecd904b7 100644 --- a/src/sort.c +++ b/src/sort.c @@ -371,7 +371,7 @@ static struct option const long_options[] = {"zero-terminated", no_argument, NULL, 'z'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, - {0, 0, 0, 0}, + {NULL, 0, NULL, 0}, }; /* The set of signals that are caught. */ @@ -1706,7 +1706,7 @@ mergefps (char **files, size_t ntemps, size_t nfiles, { if (savedline && compare (savedline, smallest)) { - savedline = 0; + savedline = NULL; write_bytes (saved.text, saved.length, ofp, output_file); } if (!savedline) |