X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-tsearch.c;h=eb465e8347e6982fdb944fe4f7ed857d6b79a8a6;hb=0edd3615919bbf744bdb56a59cf736f36a020b9b;hp=1d55824b69cc64f5c07ee58759d6df8fd499ab3d;hpb=192bd848d1106fc68d24e24e61534d6d9d49a335;p=gnulib.git
diff --git a/tests/test-tsearch.c b/tests/test-tsearch.c
index 1d55824b6..eb465e834 100644
--- a/tests/test-tsearch.c
+++ b/tests/test-tsearch.c
@@ -1,21 +1,19 @@
/* Test program for tsearch et al.
- Copyright (C) 1997, 2000, 2001, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2000-2001, 2007-2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
+ The GNU C Library is free software: you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 3 of the
+ License, or (at your option) any later version.
The GNU C Library 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
Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see . */
#include
@@ -258,7 +256,9 @@ main (int argc, char **argv)
void *root = NULL;
int i, j;
+#if HAVE_INITSTATE
initstate (SEED, state, 8);
+#endif
for (i = 0; i < SIZE; ++i)
x[i] = i;