diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
commit | d8cf93f489282ed4dd0b727e9efd9efef192e952 (patch) | |
tree | 18872eaa470b0651e1071fb9c2b187cc1745f566 /linuxthreads/sysdeps/pthread/pthread.h | |
parent | 3216711f5d4cdfcafd10377f479937cf360e2c69 (diff) | |
download | glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.gz glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.xz glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.zip |
Update.
1999-12-31 Andreas Jaeger <aj@suse.de> * libio/strfile.h: Remove K&R compatibility. * locale/langinfo.h: Likewise. * locale/localeconv.c (localeconv): Likewise. * locale/programs/simple-hash.h: Likewise. * nis/nis_xdr.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * nis/rpcsvc/nis_callback.h: Likewise. * nis/rpcsvc/nis.h: Likewise. * nis/ypclnt.c: Likewise. * nscd/nscd_proto.h: Likewise. * nscd/nscd.c: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * nis/nis_intern.h: Remove K&R compatibility; add missing ints. * sunrpc/rpcsvc/rusers.x: Likewise. * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. * elf/dl-misc.c: Remove __libc_write prototype since it's already in include/unistd.h. * elf/dl-profile.c: Likewise. * elf/dl-load.c: Likewise for __libc_read. * elf/dl-profile.c: Remove __P. * elf/sprof.c: Likewise. * elf/sln.c: Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/pthread.h')
-rw-r--r-- | linuxthreads/sysdeps/pthread/pthread.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/linuxthreads/sysdeps/pthread/pthread.h b/linuxthreads/sysdeps/pthread/pthread.h index 5ce052b17f..b3606f7d08 100644 --- a/linuxthreads/sysdeps/pthread/pthread.h +++ b/linuxthreads/sysdeps/pthread/pthread.h @@ -270,27 +270,20 @@ extern int pthread_setconcurrency (int __level) __THROW; /* Initialize MUTEX using attributes in *MUTEX_ATTR, or use the default values if later is NULL. */ -extern int __pthread_mutex_init (pthread_mutex_t *__mutex, - __const pthread_mutexattr_t *__mutex_attr) - __THROW; extern int pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutex_attr) __THROW; /* Destroy MUTEX. */ -extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex) __THROW; extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __THROW; /* Try to lock MUTEX. */ -extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex) __THROW; extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __THROW; /* Wait until lock for MUTEX becomes available and lock it. */ -extern int __pthread_mutex_lock (pthread_mutex_t *__mutex) __THROW; extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __THROW; /* Unlock MUTEX. */ -extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex) __THROW; extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __THROW; @@ -298,19 +291,15 @@ extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __THROW; /* Initialize mutex attribute object ATTR with default attributes (kind is PTHREAD_MUTEX_FAST_NP). */ -extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr) __THROW; extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __THROW; /* Destroy mutex attribute object ATTR. */ -extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __THROW; extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __THROW; #ifdef __USE_UNIX98 /* Set the mutex kind attribute in *ATTR to KIND (either PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_ERRORCHECK, or PTHREAD_MUTEX_DEFAULT). */ -extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr, - int __kind) __THROW; extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __THROW; @@ -419,8 +408,6 @@ extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, associated to that key when the key is destroyed. DESTR_FUNCTION is not called if the value associated is NULL when the key is destroyed. */ -extern int __pthread_key_create (pthread_key_t *__key, - void (*__destr_function) (void *)) __THROW; extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __THROW; @@ -428,13 +415,10 @@ extern int pthread_key_create (pthread_key_t *__key, extern int pthread_key_delete (pthread_key_t __key) __THROW; /* Store POINTER in the thread-specific data slot identified by KEY. */ -extern int __pthread_setspecific (pthread_key_t __key, - __const void *__pointer) __THROW; extern int pthread_setspecific (pthread_key_t __key, __const void *__pointer) __THROW; /* Return current value of the thread-specific data slot identified by KEY. */ -extern void *__pthread_getspecific (pthread_key_t __key) __THROW; extern void *pthread_getspecific (pthread_key_t __key) __THROW; @@ -444,8 +428,6 @@ extern void *pthread_getspecific (pthread_key_t __key) __THROW; only once, even if pthread_once is executed several times with the same ONCE_CONTROL argument. ONCE_CONTROL must point to a static or extern variable initialized to PTHREAD_ONCE_INIT. */ -extern int __pthread_once (pthread_once_t *__once_control, - void (*__init_routine) (void)) __THROW; extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __THROW; @@ -533,9 +515,6 @@ extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buff first called before FORK), and the PARENT and CHILD handlers are called in FIFO (first added, first called). */ -extern int __pthread_atfork (void (*__prepare) (void), - void (*__parent) (void), - void (*__child) (void)) __THROW; extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __THROW; |