Mercurial > emacs
comparison src/process.c @ 9705:f7535deb913a
(status_message): Add a cast.
(sigchld_handler): Add a cast.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 26 Oct 1994 09:30:46 +0000 |
parents | 328b8bc31f73 |
children | 28267fcc61be |
comparison
equal
deleted
inserted
replaced
9704:39b34bbe59c9 | 9705:f7535deb913a |
---|---|
343 { | 343 { |
344 char *signame = 0; | 344 char *signame = 0; |
345 if (code < NSIG) | 345 if (code < NSIG) |
346 { | 346 { |
347 #ifndef VMS | 347 #ifndef VMS |
348 signame = sys_siglist[code]; | 348 /* Cast to suppress warning if the table has const char *. */ |
349 signame = (char *) sys_siglist[code]; | |
349 #else | 350 #else |
350 signame = sys_errlist[code]; | 351 signame = sys_errlist[code]; |
351 #endif | 352 #endif |
352 } | 353 } |
353 if (signame == 0) | 354 if (signame == 0) |
3105 char *signame = 0; | 3106 char *signame = 0; |
3106 | 3107 |
3107 if (code < NSIG) | 3108 if (code < NSIG) |
3108 { | 3109 { |
3109 #ifndef VMS | 3110 #ifndef VMS |
3110 signame = sys_siglist[code]; | 3111 /* Suppress warning if the table has const char *. */ |
3112 signame = (char *) sys_siglist[code]; | |
3111 #else | 3113 #else |
3112 signame = sys_errlist[code]; | 3114 signame = sys_errlist[code]; |
3113 #endif | 3115 #endif |
3114 } | 3116 } |
3115 if (signame == 0) | 3117 if (signame == 0) |