summaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-19 08:37:16 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-19 08:37:16 +0000
commit39d71f22112f7c343b559c900ffd01158abd77d1 (patch)
treef715008187dcd15ae4c5a6a168de5f62db05be0d /include/pthread.h
parente4a69a69564c976cfef3991fa2a45685c2ec0edd (diff)
downloadFreeBSD-src-39d71f22112f7c343b559c900ffd01158abd77d1.zip
FreeBSD-src-39d71f22112f7c343b559c900ffd01158abd77d1.tar.gz
Remove parameter names, the identifiers were in the user namespace.
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/pthread.h b/include/pthread.h
index b0485c0..703fef6 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -141,12 +141,10 @@ enum pthread_mutextype {
* Thread function prototype definitions:
*/
__BEGIN_DECLS
-int pthread_atfork(void (*prepare)(void), void (*parent)(void),
- void (*child)(void));
+int pthread_atfork(void (*)(void), void (*)(void), void (*)(void));
int pthread_attr_destroy(pthread_attr_t *);
int pthread_attr_getstack(const pthread_attr_t * __restrict,
- void ** __restrict stackaddr,
- size_t * __restrict stacksize);
+ void ** __restrict, size_t * __restrict);
int pthread_attr_getstacksize(const pthread_attr_t *, size_t *);
int pthread_attr_getguardsize(const pthread_attr_t *, size_t *);
int pthread_attr_getstackaddr(const pthread_attr_t *, void **);
@@ -167,7 +165,7 @@ int pthread_barrierattr_getpshared(const pthread_barrierattr_t *,
int pthread_barrierattr_init(pthread_barrierattr_t *);
int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int);
void pthread_cleanup_pop(int);
-void pthread_cleanup_push(void (*) (void *), void *routine_arg);
+void pthread_cleanup_push(void (*) (void *), void *);
int pthread_condattr_destroy(pthread_condattr_t *);
int pthread_condattr_init(pthread_condattr_t *);
int pthread_condattr_getclock(const pthread_condattr_t *,
OpenPOWER on IntegriCloud