X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrverscmp.h;h=7edeac5e4cf7864bd6947f5d52e84eb86a4e4aab;hb=ccd54782ae73477aa3f3987ab04db9e6fde025d6;hp=bb1ea1b0a1df75842fdfffaff8dc846a0204b63c;hpb=358e52e8bb23ab6e5bcc42ca3546493a868d9591;p=gnulib.git diff --git a/lib/strverscmp.h b/lib/strverscmp.h index bb1ea1b0a..7edeac5e4 100644 --- a/lib/strverscmp.h +++ b/lib/strverscmp.h @@ -1,20 +1,24 @@ -/* strverscmp.h -- compare strings holding indices/version numbers */ +/* Compare strings while treating digits characters numerically. -#ifndef STRVERSCMP_H_ -# define STRVERSCMP_H_ + Copyright (C) 1997, 2003 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 + the Free Software Foundation; either version 2, or (at your option) + any later version. -# if HAVE_CONFIG_H -# include -# endif + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -# ifndef PARAMS -# if defined PROTOTYPES || (defined __STDC__ && __STDC__) -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () -# endif -# endif + 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef STRVERSCMP_H_ +# define STRVERSCMP_H_ -int strverscmp PARAMS ((const char*, const char*)); +int strverscmp (const char *, const char *); #endif /* not STRVERSCMP_H_ */