From 8dea90aab05bd062d0c8a6974d5405c69982e82a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 21 Dec 2005 22:54:00 +0000 Subject: * sysdeps/mach/hurd/ifreq.c: Add missing #includes. --- ChangeLog | 2 ++ nptl/ChangeLog | 13 +++++++++++++ nptl/libc-cancellation.c | 4 ++-- nptl/pt-cleanup.c | 5 ++--- nptl/pthread_create.c | 2 +- nptl/pthread_join.c | 4 ++-- nptl/pthread_timedjoin.c | 4 ++-- nptl/pthread_tryjoin.c | 4 ++-- nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 4 ++-- nptl/sysdeps/unix/sysv/linux/register-atfork.c | 4 ++-- nptl/sysdeps/unix/sysv/linux/unregister-atfork.c | 4 ++-- nptl/unwind.c | 4 ++-- sysdeps/mach/hurd/ifreq.c | 6 ++++++ 13 files changed, 40 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 139f84641f..06b7f679ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-12-21 Roland McGrath + * sysdeps/mach/hurd/ifreq.c: Add missing #includes. + * elf/cache.c: Use <> rather than "" #includes. * elf/chroot_canon.c: Likewise. * elf/dl-lookup.c: Likewise. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index a63c047233..3d2d4adae7 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,16 @@ +2005-12-21 Roland McGrath + + * libc-cancellation.c: Use <> rather than "" #includes. + * pt-cleanup.c: Likewise. + * pthread_create.c: Likewise. + * pthread_join.c: Likewise. + * pthread_timedjoin.c: Likewise. + * pthread_tryjoin.c: Likewise. + * sysdeps/unix/sysv/linux/libc_pthread_init.c: Likewise. + * sysdeps/unix/sysv/linux/register-atfork.c: Likewise. + * sysdeps/unix/sysv/linux/unregister-atfork.c: Likewise. + * unwind.c: Likewise. + 2005-12-19 Kaz Kojima * sysdeps/sh/tcb-offsets.sym: Add POINTER_GUARD. diff --git a/nptl/libc-cancellation.c b/nptl/libc-cancellation.c index c9237e0950..b88a32fefd 100644 --- a/nptl/libc-cancellation.c +++ b/nptl/libc-cancellation.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -20,7 +20,7 @@ #include #include #include "pthreadP.h" -#include "atomic.h" +#include #include diff --git a/nptl/pt-cleanup.c b/nptl/pt-cleanup.c index 96836a14a1..f72ea26e96 100644 --- a/nptl/pt-cleanup.c +++ b/nptl/pt-cleanup.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -20,7 +20,7 @@ #include #include #include "pthreadP.h" -#include "jmpbuf-unwind.h" +#include void __pthread_cleanup_upto (__jmp_buf target, char *targetframe) @@ -61,4 +61,3 @@ __pthread_cleanup_upto (__jmp_buf target, char *targetframe) THREAD_SETMEM (self, cleanup, cbuf); } hidden_def (__pthread_cleanup_upto) - diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index c11d972572..729b76b838 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -52,7 +52,7 @@ unsigned int __nptl_nthreads = 1; #include "allocatestack.c" /* Code to create the thread. */ -#include "createthread.c" +#include struct pthread * diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c index f94128dd96..70dc81a023 100644 --- a/nptl/pthread_join.c +++ b/nptl/pthread_join.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -20,7 +20,7 @@ #include #include -#include "atomic.h" +#include #include "pthreadP.h" diff --git a/nptl/pthread_timedjoin.c b/nptl/pthread_timedjoin.c index 1cc07213c8..5df6ab6a80 100644 --- a/nptl/pthread_timedjoin.c +++ b/nptl/pthread_timedjoin.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -19,7 +19,7 @@ #include #include -#include "atomic.h" +#include #include "pthreadP.h" diff --git a/nptl/pthread_tryjoin.c b/nptl/pthread_tryjoin.c index 904cb5280b..fc363dd778 100644 --- a/nptl/pthread_tryjoin.c +++ b/nptl/pthread_tryjoin.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -20,7 +20,7 @@ #include #include -#include "atomic.h" +#include #include "pthreadP.h" diff --git a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c index 3d1c021819..4e60596f7d 100644 --- a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c +++ b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -19,7 +19,7 @@ #include #include -#include "fork.h" +#include #include #include #include diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c index 9707e4663c..cb5b2b832f 100644 --- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c +++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -20,7 +20,7 @@ #include #include #include -#include "fork.h" +#include /* Lock to protect allocation and deallocation of fork handlers. */ diff --git a/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c b/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c index 72c8d615eb..964f5b7094 100644 --- a/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c +++ b/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -19,7 +19,7 @@ #include #include -#include "fork.h" +#include #include diff --git a/nptl/unwind.c b/nptl/unwind.c index 56a4238158..9a35695cb5 100644 --- a/nptl/unwind.c +++ b/nptl/unwind.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper and Richard Henderson , 2003. @@ -23,7 +23,7 @@ #include #include #include "pthreadP.h" -#include "jmpbuf-unwind.h" +#include #ifdef HAVE_FORCED_UNWIND diff --git a/sysdeps/mach/hurd/ifreq.c b/sysdeps/mach/hurd/ifreq.c index 258ea6368d..9da8a6803a 100644 --- a/sysdeps/mach/hurd/ifreq.c +++ b/sysdeps/mach/hurd/ifreq.c @@ -17,6 +17,12 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include +#include +#include +#include + + void __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd) { -- cgit 1.4.1