summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-03-29 16:35:03 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-03-29 16:35:03 +0300
commitbd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7 (patch)
treefd55922a1a06f30b0a02b31f5598ba976a9c3116 /src/nxt_runtime.h
parent18377ad288cc247ab49bef61965eb4f124a52cf0 (diff)
downloadunit-bd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7.tar.gz
unit-bd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7.tar.bz2
Removed unused macros and functions.
Diffstat (limited to '')
-rw-r--r--src/nxt_runtime.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h
index d3e61dc7..87b7966e 100644
--- a/src/nxt_runtime.h
+++ b/src/nxt_runtime.h
@@ -122,12 +122,6 @@ void nxt_runtime_port_remove(nxt_task_t *task, nxt_port_t *port);
nxt_port_t *nxt_runtime_port_find(nxt_runtime_t *rt, nxt_pid_t pid,
nxt_port_id_t port_id);
-nxt_port_t *nxt_runtime_port_first(nxt_runtime_t *rt,
- nxt_lvlhsh_each_t *lhe);
-
-#define nxt_runtime_port_next(rt, lhe) \
- nxt_port_hash_next(&rt->ports, lhe)
-
/* STUB */
nxt_int_t nxt_runtime_controller_socket(nxt_task_t *task, nxt_runtime_t *rt);
@@ -168,19 +162,6 @@ void nxt_app_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg);
} while(0)
-#define nxt_runtime_port_each(rt, port) \
- do { \
- nxt_lvlhsh_each_t _lhe; \
- \
- for (port = nxt_runtime_port_first(rt, &_lhe); \
- port != NULL; \
- port = nxt_runtime_port_next(rt, &_lhe)) { \
-
-#define nxt_runtime_port_loop \
- } \
- } while(0)
-
-
extern nxt_module_init_t nxt_init_modules[];
extern nxt_uint_t nxt_init_modules_n;