summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_port_hash.h')
-rw-r--r--src/nxt_port_hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_port_hash.h b/src/nxt_port_hash.h
index 68389f30..69a1a8e3 100644
--- a/src/nxt_port_hash.h
+++ b/src/nxt_port_hash.h
@@ -11,9 +11,9 @@
#include <nxt_main.h>
-void nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
+nxt_int_t nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
-void nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
+nxt_int_t nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid,
nxt_port_id_t port_id);