diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-13 11:06:56 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-13 11:06:56 +0000 |
commit | b86b736b5586f2052f3130efbb5fbd7eb96ea018 (patch) | |
tree | 832f4e11b0427bb4bf6fdbaea382e88c06938943 /lib | |
parent | 2b7eec98b3d9750a8fa1cce6e0d15982f81a8526 (diff) | |
download | gnulib-b86b736b5586f2052f3130efbb5fbd7eb96ea018.tar.gz |
(argp_program_version_hook): Provide initial value.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/argp-pvh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/argp-pvh.c b/lib/argp-pvh.c index 0ca258b7e3..5474251bb7 100644 --- a/lib/argp-pvh.c +++ b/lib/argp-pvh.c @@ -1,5 +1,5 @@ /* Default definition for ARGP_PROGRAM_VERSION_HOOK. - Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader <miles@gnu.ai.mit.edu>. @@ -28,4 +28,4 @@ this function with a stream to print the version to and a pointer to the current parsing state, and then exits (unless the ARGP_NO_EXIT flag is used). This variable takes precedent over ARGP_PROGRAM_VERSION. */ -void (*argp_program_version_hook) (FILE *stream, struct argp_state *state); +void (*argp_program_version_hook) (FILE *stream, struct argp_state *state) = NULL; |