summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 02:58:12 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 02:58:12 +0000
commitc9643a0bbf389bff1f3d5aa42a8e10dba6ea5484 (patch)
tree89953958432b3c1be45ea01ff9b07d76f26e949b
parent11e9576021f81533e472ea779246f848d19965c1 (diff)
sync code style with glibc
-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);
}