From 6a893f06a44984413d5667c7d839b8c5fe64d2d5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Mar 2005 18:08:12 +0000 Subject: [PATCH] (long_options, format_args): Use NULL, not `0'. --- src/ptx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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[] = -- 2.47.3