OSDN Git Service

sync code style with glibc
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 02:58:12 +0000 (02:58 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 02:58:12 +0000 (02:58 -0000)
libpthread/linuxthreads/errno.c

index 9f651b8..f5778f9 100644 (file)
 #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);
 }