X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-stdint.c;h=39fc51ca195b3d667b28089ecdc2da38a69b1841;hb=e9c57721db5e7cf2a19d93761d8c13e0c9701953;hp=cd87167e34963f044cd1f15c9b16306979a9fac6;hpb=3965bf4053324a67ed53e3d261471a567cff2502;p=gnulib.git diff --git a/tests/test-stdint.c b/tests/test-stdint.c index cd87167e3..39fc51ca1 100644 --- a/tests/test-stdint.c +++ b/tests/test-stdint.c @@ -1,26 +1,23 @@ /* Test of substitute. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2007 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) + 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 - Library General Public License for more details. + 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 Library 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. */ + 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 Bruno Haible , 2006. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include /* Whether to enable pedantic checks. */ #define DO_PEDANTIC 0 @@ -307,11 +304,7 @@ err or; #endif #if HAVE_WINT_T -# if HAVE_WCHAR_H -# include -# include -# include -# endif +# include verify (TYPE_MINIMUM (wint_t) == WINT_MIN); verify (TYPE_MAXIMUM (wint_t) == WINT_MAX);