fix incorrect GNU sighandler_t typedef
This commit is contained in:
parent
6597f9ac13
commit
0f5b43550c
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ void (*sigset(int, void (*)(int)))(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GNU_SOURCE
|
#ifdef _GNU_SOURCE
|
||||||
typedef int (*sighandler_t)(int);
|
typedef void (*sighandler_t)(int);
|
||||||
void (*bsd_signal(int, void (*)(int)))(int);
|
void (*bsd_signal(int, void (*)(int)))(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue