summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-04 20:55:48 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-04 20:55:48 +0000
commit5fa64b838878bc41ca608a2560da6874a515d372 (patch)
tree3a6f455cf0855848014256437715b5367a297986
parent92d3d28e87109618671b4440d2517b5c56d87fed (diff)
use internal versions of exit/memcpy
-rw-r--r--libc/misc/wchar/wchar.c2
-rw-r--r--libpthread/linuxthreads.old/forward.c2
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c
index 2535b5fff..eaa65a7db 100644
--- a/libc/misc/wchar/wchar.c
+++ b/libc/misc/wchar/wchar.c
@@ -1581,7 +1581,7 @@ static void error_msg(const char *fmt, ...)
va_end(arg);
}
- exit(EXIT_FAILURE);
+ __exit(EXIT_FAILURE);
}
int main(int argc, char **argv)
diff --git a/libpthread/linuxthreads.old/forward.c b/libpthread/linuxthreads.old/forward.c
index b5547a983..90ec6ef3a 100644
--- a/libpthread/linuxthreads.old/forward.c
+++ b/libpthread/linuxthreads.old/forward.c
@@ -101,7 +101,7 @@ FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2),
/* Use an alias to avoid warning, as pthread_exit is declared noreturn. */
-FORWARD2 (__pthread_exit, void, (void *retval), (retval), exit (EXIT_SUCCESS))
+FORWARD2 (__pthread_exit, void, (void *retval), (retval), __exit (EXIT_SUCCESS))
strong_alias (__pthread_exit, pthread_exit);
diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c
index 67b38745d..4afb65a6f 100644
--- a/libpthread/linuxthreads.old/libc_pthread_init.c
+++ b/libpthread/linuxthreads.old/libc_pthread_init.c
@@ -34,7 +34,7 @@ __libc_pthread_init (functions)
/* We copy the content of the variable pointed to by the FUNCTIONS
parameter to one in libc.so since this means access to the array
can be done with one memory access instead of two. */
- memcpy (&__libc_pthread_functions, functions,
+ __memcpy (&__libc_pthread_functions, functions,
sizeof (__libc_pthread_functions));
#endif