summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 18:08:12 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 18:08:12 +0000
commit6a893f06a44984413d5667c7d839b8c5fe64d2d5 (patch)
treee971b455d8d7606be3c51bfe7b2d5317d882b079 /src
parent63a7783403570ab22789f3bace53b16c8a729a2f (diff)
downloadcoreutils-6a893f06a44984413d5667c7d839b8c5fe64d2d5.tar.xz
(long_options, format_args): Use NULL, not `0'.
Diffstat (limited to 'src')
-rw-r--r--src/ptx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ptx.c b/src/ptx.c
index 70b9fa66e..6e5d912be 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 <pinard@iro.umontreal.ca>, 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[] =