From: Paul Eggert Date: Mon, 13 Sep 2004 11:06:56 +0000 (+0000) Subject: (argp_program_version_hook): Provide initial value. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86b736b5586f2052f3130efbb5fbd7eb96ea018;p=pspp (argp_program_version_hook): Provide initial value. --- 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 . @@ -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;