sched/signal: Add sighandler_t typedef
improve the compatibility for glibc Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I925e8cbea18848dfc75c97aa72a12b91810aa9e8
This commit is contained in:
parent
297c294c0f
commit
b3e01168db
@ -335,6 +335,10 @@ typedef CODE void (*_sa_handler_t)(int signo);
|
||||
typedef CODE void (*_sa_sigaction_t)(int signo, FAR siginfo_t *siginfo,
|
||||
FAR void *context);
|
||||
|
||||
/* glibc definition of signal handling function types */
|
||||
|
||||
typedef _sa_handler_t sighandler_t;
|
||||
|
||||
/* The following structure defines the action to take for given signal */
|
||||
|
||||
struct sigaction
|
||||
|
Loading…
Reference in New Issue
Block a user