fix missing prototypes/wrong signature for psiginfo, psignal

This commit is contained in:
Rich Felker 2011-09-02 14:25:43 -04:00
commit adb7093caa
2 changed files with 4 additions and 1 deletions

View file

@ -2,7 +2,7 @@
#include <string.h>
#include <signal.h>
void psiginfo(siginfo_t *si, const char *msg)
void psiginfo(const siginfo_t *si, const char *msg)
{
char *s = strsignal(si->si_signo);
if (msg) fprintf(stderr, "%s: %s\n", msg, s);