summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_signal.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-03-09 18:03:27 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-03-09 18:03:27 +0300
commit6f2c9acd1841ca20a1388b34aef64e9f00459090 (patch)
treec0b9c1063ec464027d1ca29a793f6c0b7a6878d5 /src/nxt_signal.h
parent5745e4826427155e29c1d520fe77811a0f570689 (diff)
downloadunit-6f2c9acd1841ca20a1388b34aef64e9f00459090.tar.gz
unit-6f2c9acd1841ca20a1388b34aef64e9f00459090.tar.bz2
Processes refactoring.
The cycle has been renamed to the runtime.
Diffstat (limited to 'src/nxt_signal.h')
-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 }