exp2l: Work around a NetBSD 10.0/i386 bug.
[gnulib.git] / lib / argp-version-etc.h
blob49523338a8dc276137b020697ba52df8d721ff43
1 /* Version hook for Argp.
2 Copyright (C) 2009-2024 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17 #ifndef _ARGP_VERSION_ETC_H
18 #define _ARGP_VERSION_ETC_H
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 /* Setup standard display of the version information for the '--version'
25 option. NAME is the canonical program name, and AUTHORS is a NULL-
26 terminated array of author names. At least one author name must be
27 given.
29 If NAME is NULL, the package name (as given by the PACKAGE macro)
30 is assumed to be the name of the program.
32 This function is intended to be called before argp_parse().
34 extern void argp_version_setup (const char *name, const char * const *authors);
36 #ifdef __cplusplus
38 #endif
40 #endif /* _ARGP_VERSION_ETC_H */