X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtoumax.c;h=9a2349f00d36e1e6aa72b45ea8cf54c76de6924c;hb=b156173b313f1903489b8c0c74292de350637f5f;hp=6fb35c7525a1bc25e42dde1140f296a729822265;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=gnulib.git diff --git a/lib/xstrtoumax.c b/lib/xstrtoumax.c index 6fb35c752..9a2349f00 100644 --- a/lib/xstrtoumax.c +++ b/lib/xstrtoumax.c @@ -1,32 +1,6 @@ -/* xstrtoumax.c -- A more useful interface to strtoumax. - - Copyright (C) 1999, 2003, 2004, 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -/* Written by Paul Eggert. */ - -#include - -#include "xstrtol.h" - #define __strtol strtoumax #define __strtol_t uintmax_t #define __xstrtol xstrtoumax -#ifdef UINTMAX_MAX -# define STRTOL_T_MINIMUM 0 -# define STRTOL_T_MAXIMUM UINTMAX_MAX -#endif +#define STRTOL_T_MINIMUM 0 +#define STRTOL_T_MAXIMUM UINTMAX_MAX #include "xstrtol.c"