From c9643a0bbf389bff1f3d5aa42a8e10dba6ea5484 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Sep 2005 02:58:12 +0000 Subject: sync code style with glibc --- libpthread/linuxthreads/errno.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'libpthread') 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 -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); } -- cgit v1.2.3