]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(long_options, mergefps): Use NULL, not `0'.
authorJim Meyering <jim@meyering.net>
Mon, 28 Mar 2005 18:09:51 +0000 (18:09 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 28 Mar 2005 18:09:51 +0000 (18:09 +0000)
src/sort.c

index bb89835f00a2e58d82927d454cea13cebfbd5fd2..3ecd904b77d1a36b89291e7661a775c44afa497c 100644 (file)
@@ -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)