[uClibc-cvs] svn commit: trunk/uClibc/include
andersen at uclibc.org
andersen at uclibc.org
Thu Jun 16 20:29:48 UTC 2005
Author: andersen
Date: 2005-06-16 14:29:47 -0600 (Thu, 16 Jun 2005)
New Revision: 10544
Log:
Jim Ramsay writes:
<lack> andersee: Yes. But why does it expose the prototype for _sys_siglist
but NOT provide it in the library? It should either be put into the
library or taken out of the header.
<lack> I just replace the prototype for _sys_siglist with '#define _sys_siglist
sys_siglist' and it seemed to work.
Modified:
trunk/uClibc/include/signal.h
Changeset:
Modified: trunk/uClibc/include/signal.h
===================================================================
--- trunk/uClibc/include/signal.h 2005-06-15 15:48:36 UTC (rev 10543)
+++ trunk/uClibc/include/signal.h 2005-06-16 20:29:47 UTC (rev 10544)
@@ -276,7 +276,7 @@
#ifdef __UCLIBC_HAS_SYS_SIGLIST__
/* Names of the signals. This variable exists only for compatibility.
Use `strsignal' instead (see <string.h>). */
-extern __const char *__const _sys_siglist[_NSIG];
+#define _sys_siglist sys_siglist
extern __const char *__const sys_siglist[_NSIG];
#endif /* __UCLIBC_HAS_SYS_SIGLIST__ */
More information about the uClibc-cvs
mailing list