svn commit: trunk/uClibc: libc/misc/wchar libpthread/linuxthreads. etc...
psm at uclibc.org
psm at uclibc.org
Wed Jan 4 20:55:50 UTC 2006
Author: psm
Date: 2006-01-04 12:55:48 -0800 (Wed, 04 Jan 2006)
New Revision: 13081
Log:
use internal versions of exit/memcpy
Modified:
trunk/uClibc/libc/misc/wchar/wchar.c
trunk/uClibc/libpthread/linuxthreads.old/forward.c
trunk/uClibc/libpthread/linuxthreads.old/libc_pthread_init.c
Changeset:
Modified: trunk/uClibc/libc/misc/wchar/wchar.c
===================================================================
--- trunk/uClibc/libc/misc/wchar/wchar.c 2006-01-04 13:35:09 UTC (rev 13080)
+++ trunk/uClibc/libc/misc/wchar/wchar.c 2006-01-04 20:55:48 UTC (rev 13081)
@@ -1581,7 +1581,7 @@
va_end(arg);
}
- exit(EXIT_FAILURE);
+ __exit(EXIT_FAILURE);
}
int main(int argc, char **argv)
Modified: trunk/uClibc/libpthread/linuxthreads.old/forward.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/forward.c 2006-01-04 13:35:09 UTC (rev 13080)
+++ trunk/uClibc/libpthread/linuxthreads.old/forward.c 2006-01-04 20:55:48 UTC (rev 13081)
@@ -101,7 +101,7 @@
/* 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);
Modified: trunk/uClibc/libpthread/linuxthreads.old/libc_pthread_init.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/libc_pthread_init.c 2006-01-04 13:35:09 UTC (rev 13080)
+++ trunk/uClibc/libpthread/linuxthreads.old/libc_pthread_init.c 2006-01-04 20:55:48 UTC (rev 13081)
@@ -34,7 +34,7 @@
/* 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
More information about the uClibc-cvs
mailing list