diff options
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r-- | sysdeps/pthread/bits/cancelation.h | 2 | ||||
-rw-r--r-- | sysdeps/pthread/bits/pthreadtypes.h | 2 | ||||
-rw-r--r-- | sysdeps/pthread/pthread-functions.h | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/pthread/bits/cancelation.h b/sysdeps/pthread/bits/cancelation.h index 1ed16c6..42c0a3a 100644 --- a/sysdeps/pthread/bits/cancelation.h +++ b/sysdeps/pthread/bits/cancelation.h @@ -41,7 +41,7 @@ struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void); *__handlers \ }; \ *__handlers = &__handler; - + #define __pthread_cleanup_pop(execute) \ if (execute) \ __handler.__handler (__handler.__arg); \ diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h index 3e44d6b..bdbfc19 100644 --- a/sysdeps/pthread/bits/pthreadtypes.h +++ b/sysdeps/pthread/bits/pthreadtypes.h @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/pthread/pthread-functions.h b/sysdeps/pthread/pthread-functions.h index 0fc8968..db30f13 100644 --- a/sysdeps/pthread/pthread-functions.h +++ b/sysdeps/pthread/pthread-functions.h @@ -29,9 +29,9 @@ int __pthread_attr_setdetachstate (pthread_attr_t *, int); int __pthread_attr_getinheritsched (const pthread_attr_t *, int *); int __pthread_attr_setinheritsched (pthread_attr_t *, int); int __pthread_attr_getschedparam (const pthread_attr_t *, - struct sched_param *); + struct sched_param *); int __pthread_attr_setschedparam (pthread_attr_t *, - const struct sched_param *); + const struct sched_param *); int __pthread_attr_getschedpolicy (const pthread_attr_t *, int *); int __pthread_attr_setschedpolicy (pthread_attr_t *, int); int __pthread_attr_getscope (const pthread_attr_t *, int *); @@ -41,19 +41,19 @@ int __pthread_condattr_init (pthread_condattr_t *); int __pthread_cond_broadcast (pthread_cond_t *); int __pthread_cond_destroy (pthread_cond_t *); int __pthread_cond_init (pthread_cond_t *, - const pthread_condattr_t *); + const pthread_condattr_t *); int __pthread_cond_signal (pthread_cond_t *); int __pthread_cond_wait (pthread_cond_t *, pthread_mutex_t *); int __pthread_cond_timedwait (pthread_cond_t *, pthread_mutex_t *, - const struct timespec *); + const struct timespec *); int __pthread_equal (pthread_t, pthread_t); void __pthread_exit (void *); int __pthread_getschedparam (pthread_t, int *, struct sched_param *); int __pthread_setschedparam (pthread_t, int, - const struct sched_param *); + const struct sched_param *); int _pthread_mutex_destroy (pthread_mutex_t *); int _pthread_mutex_init (pthread_mutex_t *, - const pthread_mutexattr_t *); + const pthread_mutexattr_t *); int __pthread_mutex_lock (pthread_mutex_t *); int __pthread_mutex_trylock (pthread_mutex_t *); int __pthread_mutex_unlock (pthread_mutex_t *); |