about summary refs log tree commit diff
path: root/linuxthreads/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/errno.c')
-rw-r--r--linuxthreads/errno.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/linuxthreads/errno.c b/linuxthreads/errno.c
index 57b1ebb635..5c0e8767a1 100644
--- a/linuxthreads/errno.c
+++ b/linuxthreads/errno.c
@@ -23,20 +23,23 @@
 
 #if !USE_TLS || !HAVE___THREAD
 /* The definition in libc is sufficient if we use TLS.  */
-int * __errno_location()
+int *
+__errno_location (void)
 {
   pthread_descr self = thread_self();
   return THREAD_GETMEM (self, p_errnop);
 }
 
-int * __h_errno_location()
+int *
+__h_errno_location (void)
 {
   pthread_descr self = thread_self();
   return THREAD_GETMEM (self, p_h_errnop);
 }
 
 /* Return thread specific resolver state.  */
-struct __res_state * __res_state()
+struct __res_state *
+__res_state (void)
 {
   pthread_descr self = thread_self();
   return THREAD_GETMEM (self, p_resp);