static CONST char undoc[] = "unknown signal";
+/* We'd like to make this const char*[], but whoever's using it might
+ want to assign from it to a char*. */
char *sys_siglist[NSIG];
#endif /* SYS_SIGLIST_MISSING */
CONST char *name;
{
#if SYS_SIGLIST_MISSING
- sys_siglist[number] = name;
+ sys_siglist[number] = (char *) name;
#endif
sig_table[sig_table_nelts].number = number;
sig_table[sig_table_nelts++].abbrev = abbrev;
/* Initialize signal names. */
for (i = 0; i < NSIG; i++)
- sys_siglist[i] = undoc;
+ sys_siglist[i] = (char *) undoc;
#endif /* SYS_SIGLIST_MISSING */
/* Initialize signal names. */