(argp_program_version_hook): Provide initial value.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Sep 2004 11:06:56 +0000 (11:06 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Sep 2004 11:06:56 +0000 (11:06 +0000)
lib/argp-pvh.c

index 0ca258b7e3f67dbab062fa8a309ce189a05be5e3..5474251bb711ddafc4cd1373eb0febd218d8cb6c 100644 (file)
@@ -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;