mirror of git://sourceware.org/git/glibc.git
* posix/unistd.h (ctermid): Remove __nonnull attribute.
This commit is contained in:
parent
305bb37e1e
commit
35c2fd59ba
|
|
@ -1,3 +1,7 @@
|
||||||
|
2006-01-03 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* posix/unistd.h (ctermid): Remove __nonnull attribute.
|
||||||
|
|
||||||
2006-01-02 Jakub Jelinek <jakub@redhat.com>
|
2006-01-02 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
|
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
2006-01-03 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/pthread/pthread.h [__WORDSIZE==64]: Don't use cast in
|
||||||
|
mutex initializers.
|
||||||
|
|
||||||
2006-01-02 Jakub Jelinek <jakub@redhat.com>
|
2006-01-02 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/sparc/tls.h (tcbhead_t): Add pointer_guard field.
|
* sysdeps/sparc/tls.h (tcbhead_t): Add pointer_guard field.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -74,14 +74,14 @@ enum
|
||||||
/* Mutex initializers. */
|
/* Mutex initializers. */
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
# define PTHREAD_MUTEX_INITIALIZER \
|
# define PTHREAD_MUTEX_INITIALIZER \
|
||||||
{ { 0, 0, 0, 0, 0, 0, (void *) 0, (void *) 0 } }
|
{ { 0, 0, 0, 0, 0, 0, 0, 0 } }
|
||||||
# ifdef __USE_GNU
|
# ifdef __USE_GNU
|
||||||
# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
|
# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
|
||||||
{ { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, (void *) 0, (void *) 0 } }
|
{ { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, 0, 0 } }
|
||||||
# define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \
|
# define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \
|
||||||
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0, (void *) 0, (void *) 0 } }
|
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0, 0, 0 } }
|
||||||
# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \
|
# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \
|
||||||
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0, (void *) 0, (void *) 0 } }
|
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0, 0, 0 } }
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define PTHREAD_MUTEX_INITIALIZER \
|
# define PTHREAD_MUTEX_INITIALIZER \
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991-2002,2003,2004,2005 Free Software Foundation, Inc.
|
/* Copyright (C) 1991-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -1075,7 +1075,7 @@ extern void swab (__const void *__restrict __from, void *__restrict __to,
|
||||||
It is also found in <stdio.h>. */
|
It is also found in <stdio.h>. */
|
||||||
#ifdef __USE_XOPEN
|
#ifdef __USE_XOPEN
|
||||||
/* Return the name of the controlling terminal. */
|
/* Return the name of the controlling terminal. */
|
||||||
extern char *ctermid (char *__s) __THROW __nonnull ((1));
|
extern char *ctermid (char *__s) __THROW;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue