X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-tsearch.c;h=eb465e8347e6982fdb944fe4f7ed857d6b79a8a6;hb=279193baa28766dc01c1d1f7605841cd420f6410;hp=b6a22fa9f08d4608f5729b70af114b3eabe627b4;hpb=b42d50108cf2147b3d80ecb6457faa96347411e9;p=gnulib.git diff --git a/tests/test-tsearch.c b/tests/test-tsearch.c index b6a22fa9f..eb465e834 100644 --- a/tests/test-tsearch.c +++ b/tests/test-tsearch.c @@ -1,5 +1,5 @@ /* 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 @@ -256,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;