From: Jim Meyering Date: Mon, 28 Mar 2005 18:08:12 +0000 (+0000) Subject: (long_options, format_args): Use NULL, not `0'. X-Git-Tag: CPPI-1_12~1186 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a893f06a44984413d5667c7d839b8c5fe64d2d5;p=thirdparty%2Fcoreutils.git (long_options, format_args): Use NULL, not `0'. --- diff --git a/src/ptx.c b/src/ptx.c index 70b9fa66eb..6e5d912be3 100644 --- a/src/ptx.c +++ b/src/ptx.c @@ -1,5 +1,5 @@ /* Permuted index for GNU, with keywords in their context. - Copyright (C) 1990, 1991, 1993, 1998-2004 Free Software Foundation, Inc. + Copyright (C) 1990, 1991, 1993, 1998-2005 Free Software Foundation, Inc. François Pinard , 1988. This program is free software; you can redistribute it and/or modify @@ -1943,12 +1943,12 @@ static const struct option long_options[] = {"word-regexp", required_argument, NULL, 'W'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, - {0, 0, 0, 0}, + {NULL, 0, NULL, 0}, }; static char const* const format_args[] = { - "roff", "tex", 0 + "roff", "tex", NULL }; static enum Format const format_vals[] =