summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_signal.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_signal.h b/src/nxt_signal.h
index 48d5c922..2194d1f4 100644
--- a/src/nxt_signal.h
+++ b/src/nxt_signal.h
@@ -8,11 +8,11 @@
#define _NXT_SIGNAL_H_INCLUDED_
-typedef struct {
+struct nxt_sig_event_s {
int signo;
nxt_work_handler_t handler;
const char *name;
-} nxt_sig_event_t;
+};
#define nxt_event_signal(sig, handler) \
{ sig, handler, #sig }