summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/allocatestack.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-02 02:11:44 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-02 02:11:44 +0000
commit76e3f1c91e7cc21260b08adb60c974fa6515ce52 (patch)
treecc067b62989d94feedd81d74cde596d643ff01c1 /libpthread/nptl/allocatestack.c
parent61257ecf3c60e69e38c2d28fc23040735f2e35b1 (diff)
downloaduClibc-alpine-76e3f1c91e7cc21260b08adb60c974fa6515ce52.tar.bz2
uClibc-alpine-76e3f1c91e7cc21260b08adb60c974fa6515ce52.tar.xz
Final set of changes for NPTL and new build system. NPTL can now build with the new build system.
Diffstat (limited to 'libpthread/nptl/allocatestack.c')
-rw-r--r--libpthread/nptl/allocatestack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpthread/nptl/allocatestack.c b/libpthread/nptl/allocatestack.c
index a228d090e..969c569a9 100644
--- a/libpthread/nptl/allocatestack.c
+++ b/libpthread/nptl/allocatestack.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <sys/mman.h>
#include <sys/param.h>
-#include <dl-sysdep.h>
#include <tls.h>
#include <lowlevellock.h>
#include <link.h>
@@ -936,7 +935,7 @@ init_one_static_tls (struct pthread *curp, struct link_map *map)
dtv[map->l_tls_modid].pointer.is_static = true;
/* Initialize the memory. */
- memset (__mempcpy (dest, map->l_tls_initimage, map->l_tls_initimage_size),
+ memset (mempcpy (dest, map->l_tls_initimage, map->l_tls_initimage_size),
'\0', map->l_tls_blocksize - map->l_tls_initimage_size);
}