X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Flong-options.h;h=3fe24d7b5bc643e7e20d38c9404b44c5f82964c1;hb=b4e5a5f11bd67ce5435b5ecf43b7fb6a81ba62a0;hp=4cb069376fd9a52225f35f7ef21b40b833dfa642;hpb=167de130e9c32ed4c054bd961b7f9932b3c7ee03;p=gnulib.git diff --git a/lib/long-options.h b/lib/long-options.h index 4cb069376..3fe24d7b5 100644 --- a/lib/long-options.h +++ b/lib/long-options.h @@ -1,10 +1,11 @@ /* long-options.h -- declaration for --help- and --version-handling function. - Copyright (C) 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1993-1994, 1998-1999, 2003, 2009-2010 Free Software + Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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 - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,20 +13,14 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see . */ /* Written by Jim Meyering. */ -#undef PARAMS -#if defined (__STDC__) && __STDC__ -# define PARAMS(Args) Args -#else -# define PARAMS(Args) () -#endif - -void - parse_long_options PARAMS ((int _argc, char **_argv, - const char *_command_name, - const char *_package, - const char *_version, void (*_usage) (int))); +void parse_long_options (int _argc, + char **_argv, + const char *_command_name, + const char *_package, + const char *_version, + void (*_usage) (int), + /* const char *author1, ...*/ ...);