From 9ac9a47b7fed9cb835789b657ed9fe4a0e879084 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Mar 2005 18:05:53 +0000 Subject: (longopts): Use NULL, not `0'. --- src/paste.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/paste.c b/src/paste.c index 9692cb3bc..139ac599a 100644 --- a/src/paste.c +++ b/src/paste.c @@ -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 -- cgit v1.2.3-70-g09d2