svn commit: trunk/uClibc/libc/sysdeps/linux/common
psm at uclibc.org
psm at uclibc.org
Wed Nov 2 21:21:18 UTC 2005
Author: psm
Date: 2005-11-02 13:21:15 -0800 (Wed, 02 Nov 2005)
New Revision: 12118
Log:
add dummy loop to kill gcc warning, probably _exit should get attribute_noreturn
Modified:
trunk/uClibc/libc/sysdeps/linux/common/_exit.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/_exit.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/_exit.c 2005-11-02 21:18:56 UTC (rev 12117)
+++ trunk/uClibc/libc/sysdeps/linux/common/_exit.c 2005-11-02 21:21:15 UTC (rev 12118)
@@ -34,6 +34,8 @@
void _exit(int status)
{
- INLINE_SYSCALL(exit, 1, status);
+ /* The loop is added only to keep gcc happy. */
+ while(1)
+ INLINE_SYSCALL(exit, 1, status);
}
More information about the uClibc-cvs
mailing list