X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrverscmp.h;h=717a057c170e31e19a468120a8f98c2727f053aa;hb=9b9bfb49af70f53f177c7a6563fa844a4a50c7db;hp=79737fe1779ba3ec77e7c07e3127b1acd4f54c6c;hpb=20d419623aa1b6de80ac4e364a3ea6c98c40ba45;p=gnulib.git diff --git a/lib/strverscmp.h b/lib/strverscmp.h index 79737fe17..717a057c1 100644 --- a/lib/strverscmp.h +++ b/lib/strverscmp.h @@ -1,8 +1,24 @@ -/* strverscmp.h -- compare strings holding indices/version numbers */ +/* Compare strings while treating digits characters numerically. + + 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. + + 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. + + 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. */ #ifndef STRVERSCMP_H_ # define STRVERSCMP_H_ -int strverscmp (const char*, const char*); +int strverscmp (const char *, const char *); #endif /* not STRVERSCMP_H_ */