X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Flong-options.h;h=f82ff047eeec9c48e9970c73bf074cc4829a27b6;hb=665d6196eb31db345b2e849a134d56200301a6a0;hp=4cb069376fd9a52225f35f7ef21b40b833dfa642;hpb=167de130e9c32ed4c054bd961b7f9932b3c7ee03;p=gnulib.git diff --git a/lib/long-options.h b/lib/long-options.h index 4cb069376..f82ff047e 100644 --- a/lib/long-options.h +++ b/lib/long-options.h @@ -1,5 +1,5 @@ /* long-options.h -- declaration for --help- and --version-handling function. - Copyright (C) 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1998, 1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,15 +17,19 @@ /* Written by Jim Meyering. */ -#undef PARAMS -#if defined (__STDC__) && __STDC__ -# define PARAMS(Args) Args -#else -# define PARAMS(Args) () +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif #endif void - parse_long_options PARAMS ((int _argc, char **_argv, + parse_long_options PARAMS ((int _argc, + char **_argv, const char *_command_name, const char *_package, - const char *_version, void (*_usage) (int))); + const char *_version, + const char *_authors, + void (*_usage) (int)));