aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-03-12 14:10:36 +0000
committerOmar Polo <op@omarpolo.com>2024-03-12 14:10:36 +0000
commit8aba5d8b210a17b49cfc8f02b12fd7b62c228fb3 (patch)
treec1b6ee01ba4181047a59eb401671193b4fe08fb1 /server.c
parent7c83689428d30bf646bea610ca4ee04aded74024 (diff)
remove dead code
Diffstat (limited to 'server.c')
-rw-r--r--server.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/server.c b/server.c
index 748ac45..ad66fee 100644
--- a/server.c
+++ b/server.c
@@ -1329,15 +1329,6 @@ server_accept(int sock, short et, void *d)
connected_clients++;
}
-struct client *
-client_by_id(int id)
-{
- struct client find;
-
- find.id = id;
- return SPLAY_FIND(client_tree_id, &clients, &find);
-}
-
static void
handle_siginfo(int fd, short ev, void *d)
{