annotate lib/argp-pvh.c @ 286:701132971855 2.3

Fixed regression related to force linking a library file
author lost
date Sat, 25 Apr 2009 02:18:06 +0000
parents 2cb097e760a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
1 /* Default definition for ARGP_PROGRAM_VERSION_HOOK.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
2 Copyright (C) 1996, 1997, 1999, 2004 Free Software Foundation, Inc.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
3 This file is part of the GNU C Library.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
4 Written by Miles Bader <miles@gnu.ai.mit.edu>.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
5
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
6 This program is free software: you can redistribute it and/or modify
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
8 the Free Software Foundation; either version 3 of the License, or
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
9 (at your option) any later version.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
10
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
14 GNU General Public License for more details.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
15
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
18
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
19 #ifdef HAVE_CONFIG_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
20 # include <config.h>
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
21 #endif
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
22
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
23 #include "argp.h"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
24
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
25 /* If set by the user program to a non-zero value, then a default option
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
26 --version is added (unless the ARGP_NO_HELP flag is used), which calls
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
27 this function with a stream to print the version to and a pointer to the
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
28 current parsing state, and then exits (unless the ARGP_NO_EXIT flag is
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
29 used). This variable takes precedent over ARGP_PROGRAM_VERSION. */
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
30 void (*argp_program_version_hook) (FILE *stream, struct argp_state *state) = NULL;