From 8d90b78f17dbb4cb7abb329b355e66e14418274b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Mar 2005 18:09:51 +0000 Subject: [PATCH] (long_options, mergefps): Use NULL, not `0'. --- src/sort.c | 4 ++-- 1 file 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)