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

index 9692cb3bc4addc56e5206213bbe67608af060163..139ac599a5f7f9fa523af28457d148032aa978ef 100644 (file)
@@ -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