summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpthread/linuxthreads/errno.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/libpthread/linuxthreads/errno.c b/libpthread/linuxthreads/errno.c
index 9f651b8ec..f5778f98a 100644
--- a/libpthread/linuxthreads/errno.c
+++ b/libpthread/linuxthreads/errno.c
@@ -22,14 +22,16 @@
#include "internals.h"
#include <stdio.h>
-int * __errno_location()
+int *
+__errno_location (void)
{
- pthread_descr self = thread_self();
- return THREAD_GETMEM (self, p_errnop);
+ 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);
+ pthread_descr self = thread_self();
+ return THREAD_GETMEM (self, p_h_errnop);
}