diff options
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 |
commit | 76e3f1c91e7cc21260b08adb60c974fa6515ce52 (patch) | |
tree | cc067b62989d94feedd81d74cde596d643ff01c1 /libpthread/nptl/sem_open.c | |
parent | 61257ecf3c60e69e38c2d28fc23040735f2e35b1 (diff) | |
download | uClibc-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/sem_open.c')
-rw-r--r-- | libpthread/nptl/sem_open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/sem_open.c b/libpthread/nptl/sem_open.c index e388d99de..3cdf76479 100644 --- a/libpthread/nptl/sem_open.c +++ b/libpthread/nptl/sem_open.c @@ -117,7 +117,7 @@ __where_is_shmfs (void) mountpoint.dir = (char *) malloc (namelen + 4 + 2); if (mountpoint.dir != NULL) { - char *cp = __mempcpy (mountpoint.dir, mp->mnt_dir, namelen); + char *cp = mempcpy (mountpoint.dir, mp->mnt_dir, namelen); if (cp[-1] != '/') *cp++ = '/'; cp = stpcpy (cp, "sem."); @@ -264,7 +264,7 @@ sem_open (const char *name, int oflag, ...) /* Create the name of the final file. */ finalname = (char *) alloca (mountpoint.dirlen + namelen); - __mempcpy (__mempcpy (finalname, mountpoint.dir, mountpoint.dirlen), + mempcpy (mempcpy (finalname, mountpoint.dir, mountpoint.dirlen), name, namelen); /* If the semaphore object has to exist simply open it. */ @@ -321,7 +321,7 @@ sem_open (const char *name, int oflag, ...) sizeof (sem_t) - sizeof (struct sem)); tmpfname = (char *) alloca (mountpoint.dirlen + 6 + 1); - char *xxxxxx = __mempcpy (tmpfname, mountpoint.dir, mountpoint.dirlen); + char *xxxxxx = mempcpy (tmpfname, mountpoint.dir, mountpoint.dirlen); int retries = 0; #define NRETRIES 50 |