From: Ulrich Drepper Date: Fri, 19 Jan 2007 06:58:04 +0000 (+0000) Subject: * tst-initializers1.c: We want to test the initializers as seen X-Git-Tag: cvs/fedora-glibc-20070202T0923~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8a1785592414ea4cb12b919740fbff77175ce8f;p=platform%2Fupstream%2Fglibc.git * tst-initializers1.c: We want to test the initializers as seen outside of libc, so undefined _LIBC. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 58deac2..5b01cb2 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,8 @@ 2007-01-18 Ulrich Drepper + * tst-initializers1.c: We want to test the initializers as seen + outside of libc, so undefined _LIBC. + * pthread_join.c (cleanup): Avoid warning. 2007-01-17 Ulrich Drepper diff --git a/nptl/tst-initializers1.c b/nptl/tst-initializers1.c index ccd2728..eacee35 100644 --- a/nptl/tst-initializers1.c +++ b/nptl/tst-initializers1.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2005 Free Software Foundation, Inc. +/* Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek , 2005. @@ -17,6 +17,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +/* We test the code undef conditions outside of glibc. */ +#undef _LIBC + #include pthread_mutex_t mtx_normal = PTHREAD_MUTEX_INITIALIZER;