Merge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch

This commit is contained in:
Brian Behlendorf 2008-12-10 11:32:07 -08:00
commit b910a84f6e
1 changed files with 2 additions and 2 deletions

View File

@ -97,9 +97,9 @@ getpcstack(uintptr_t *pcstack, int pcstack_limit, int check_signal)
}
if (check_signal != 0) {
void (*sigfunc)() = NULL;
void (*sigfunc)(void) = NULL;
int sigfuncsize = 0;
extern void thr_sighndlrinfo(void (**)(), int *);
extern void thr_sighndlrinfo(void (**)(void), int *);
thr_sighndlrinfo(&sigfunc, &sigfuncsize);
sigbase = (uintptr_t)sigfunc;