summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old/attr.c')
-rw-r--r--libpthread/linuxthreads.old/attr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/attr.c b/libpthread/linuxthreads.old/attr.c
index a8dfb335e..e5f110b0e 100644
--- a/libpthread/linuxthreads.old/attr.c
+++ b/libpthread/linuxthreads.old/attr.c
@@ -15,6 +15,7 @@
/* changed for uClibc */
#define __sched_get_priority_min sched_get_priority_min
#define __sched_get_priority_max sched_get_priority_max
+#define __getpagesize getpagesize
/* Handling of thread attributes */
@@ -25,8 +26,6 @@
#include "pthread.h"
#include "internals.h"
-extern int __getpagesize(void);
-
/* NOTE: With uClibc I don't think we need this versioning stuff.
* Therefore, define the function pthread_attr_init() here using
* a strong symbol. */