summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 18:09:51 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 18:09:51 +0000
commit8d90b78f17dbb4cb7abb329b355e66e14418274b (patch)
tree0fd09343d5f8c4d5110f443dcaa324c6290b3e97 /src
parentdc9390825fb531cb3fc77cd89aec78fe4d583856 (diff)
downloadcoreutils-8d90b78f17dbb4cb7abb329b355e66e14418274b.tar.xz
(long_options, mergefps): Use NULL, not `0'.
Diffstat (limited to 'src')
-rw-r--r--src/sort.c4
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)