Skip to content

Commit

Permalink
* nscd/servicescache.c: Include kernel-features.h.
Browse files Browse the repository at this point in the history
	* nscd/gai.c: Likewise.
	* sysdeps/unix/sysv/linux/statfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/fxstatat.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
	* sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
	* sysdeps/unix/sysv/linux/if_index.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
  • Loading branch information
Ulrich Drepper committed Aug 13, 2007
1 parent ea37207 commit f8de505
Show file tree
Hide file tree
Showing 29 changed files with 53 additions and 7 deletions.
14 changes: 14 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
2007-08-13 Jakub Jelinek <jakub@redhat.com>

* nscd/servicescache.c: Include kernel-features.h.
* nscd/gai.c: Likewise.
* sysdeps/unix/sysv/linux/statfs64.c: Likewise.
* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
* sysdeps/unix/sysv/linux/fxstatat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.

2007-08-12 Ulrich Drepper <drepper@redhat.com>

* elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute,
Expand Down
1 change: 1 addition & 0 deletions nptl/allocatestack.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <dl-sysdep.h>
#include <tls.h>
#include <lowlevellock.h>
#include <kernel-features.h>


#ifndef NEED_SEPARATE_REGISTER_STACK
Expand Down
1 change: 1 addition & 0 deletions nptl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <shlib-compat.h>
#include <smp.h>
#include <lowlevellock.h>
#include <kernel-features.h>


/* Size and alignment of static TLS block. */
Expand Down
1 change: 1 addition & 0 deletions nptl/pthread_cond_timedwait.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
#include <kernel-features.h>

#include <shlib-compat.h>

Expand Down
1 change: 1 addition & 0 deletions nptl/pthread_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <atomic.h>
#include <libc-internal.h>
#include <resolv.h>
#include <kernel-features.h>

#include <shlib-compat.h>

Expand Down
1 change: 1 addition & 0 deletions nptl/pthread_mutex_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <kernel-features.h>
#include "pthreadP.h"

static const struct pthread_mutexattr default_attr =
Expand Down
1 change: 1 addition & 0 deletions nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <bits/pthreadtypes.h>
#include <atomic.h>
#include <sysdep.h>
#include <kernel-features.h>


#define __NR_futex 394
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <lowlevellock.h>
#include <lowlevelcond.h>
#include <pthread-errnos.h>
#include <kernel-features.h>


.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <lowlevelrwlock.h>
#include <pthread-errnos.h>
#include <kernel-features.h>


.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <lowlevelrwlock.h>
#include <pthread-errnos.h>
#include <kernel-features.h>


.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <lowlevelrwlock.h>
#include <pthread-errnos.h>
#include <kernel-features.h>


.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <sysdep.h>
#include <lowlevellock.h>
#include <lowlevelrwlock.h>
#include <kernel-features.h>


.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <lowlevelrwlock.h>
#include <pthread-errnos.h>
#include <kernel-features.h>


.text
Expand Down
1 change: 1 addition & 0 deletions nptl/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <bits/pthreadtypes.h>
#include <ia64intrin.h>
#include <atomic.h>
#include <kernel-features.h>

#define __NR_futex 1230
#define FUTEX_WAIT 0
Expand Down
1 change: 1 addition & 0 deletions nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <sys/param.h>
#include <bits/pthreadtypes.h>
#include <atomic.h>
#include <kernel-features.h>

#ifndef __NR_futex
# define __NR_futex 221
Expand Down
1 change: 1 addition & 0 deletions nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <sys/param.h>
#include <bits/pthreadtypes.h>
#include <atomic.h>
#include <kernel-features.h>

#define SYS_futex 238
#define FUTEX_WAIT 0
Expand Down
1 change: 1 addition & 0 deletions nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <lowlevelcond.h>
#include <pthread-errnos.h>
#include "lowlevel-atomic.h"
#include <kernel-features.h>

.text

Expand Down
1 change: 1 addition & 0 deletions nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <sys/param.h>
#include <bits/pthreadtypes.h>
#include <atomic.h>
#include <kernel-features.h>


#define FUTEX_WAIT 0
Expand Down
2 changes: 2 additions & 0 deletions nscd/gai.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */

#include <alloca.h>
#include <kernel-features.h>

/* This file uses the getaddrinfo code but it compiles it without NSCD
support. We just need a few symbol renames. */
#define __inet_aton inet_aton
Expand Down
1 change: 1 addition & 0 deletions nscd/servicescache.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <netdb.h>
#include <unistd.h>
#include <sys/mman.h>
#include <kernel-features.h>

#include "nscd.h"
#include "dbg_log.h"
Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/fstatfs64.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* Return information about the filesystem on which FD resides.
Copyright (C) 1996,1997,1998,1999,2000,2003 Free Software Foundation, Inc.
Copyright (C) 1996,1997,1998,1999,2000,2003,2007
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
Expand All @@ -22,6 +23,7 @@
#include <sys/statfs.h>
#include <stddef.h>
#include <sysdep.h>
#include <kernel-features.h>

/* Defined in statfs64.c. */
extern int __no_statfs64 attribute_hidden;
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/fxstatat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
/* Copyright (C) 2005, 2006, 2007 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
Expand Down Expand Up @@ -30,6 +30,7 @@
#include <sysdep.h>
#include <sys/syscall.h>
#include <bp-checks.h>
#include <kernel-features.h>

#include <xstatconv.h>

Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/if_index.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005
/* Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Expand Down Expand Up @@ -28,6 +28,7 @@
#include <sys/ioctl.h>
#include <bits/libc-lock.h>
#include <not-cancel.h>
#include <kernel-features.h>

#include "netlinkaccess.h"

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/ifaddrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <sysdep.h>
#include <time.h>
#include <unistd.h>
#include <kernel-features.h>

#include "netlinkaccess.h"

Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/s390/s390-32/mmap.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2001, 2007 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of the GNU C Library.
Expand All @@ -18,6 +18,7 @@
02111-1307 USA. */

#include <sysdep.h>
#include <kernel-features.h>

#define EINVAL 22

Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2001, 2007 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of the GNU C Library.
Expand All @@ -18,6 +18,7 @@
02111-1307 USA. */

#include <sysdep.h>
#include <kernel-features.h>

#define EINVAL 22
#define ENOSYS 38
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <kernel-features.h>

#include "../../i386/xstat.c"

#ifdef __NR_stat64
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/statfs64.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Return information about the filesystem on which FILE resides.
Copyright (C) 1996-2000,2003,2004 Free Software Foundation, Inc.
Copyright (C) 1996-2000,2003,2004,2007 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
Expand All @@ -22,6 +22,7 @@
#include <sys/statfs.h>
#include <stddef.h>
#include <sysdep.h>
#include <kernel-features.h>


# if __ASSUME_STATFS64 == 0
Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/xstatconv.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* Convert between the kernel's `struct stat' format, and libc's.
Copyright (C) 1991,1995-1997,2000,2002,2003 Free Software Foundation, Inc.
Copyright (C) 1991,1995-1997,2000,2002,2003,2007
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
Expand All @@ -20,6 +21,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <kernel_stat.h>
#include <kernel-features.h>

#ifdef STAT_IS_KERNEL_STAT

Expand Down

0 comments on commit f8de505

Please sign in to comment.