summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/errno.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-13 02:28:34 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-13 02:28:34 +0000
commit07a485defae1ef578c5b3ce0d4373201948a7345 (patch)
tree2184f0f32083bd47ef3b82ad016d8d710f8f221f /libpthread/linuxthreads/errno.c
parent224ca9f63688cdecd80ed01c25f5f62871fe4cfc (diff)
downloaduClibc-alpine-07a485defae1ef578c5b3ce0d4373201948a7345.tar.bz2
uClibc-alpine-07a485defae1ef578c5b3ce0d4373201948a7345.tar.xz
Merge with trunk. "So do that funky merge whiiite boy..."
Diffstat (limited to 'libpthread/linuxthreads/errno.c')
-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);
}