]> jfr.im git - solanum.git/blobdiff - ircd/wsproc.c
Add general::hidden_caps
[solanum.git] / ircd / wsproc.c
index 83b93a6d268c75c7ee903cffe97fb7eb8c9bd355..b11b0f3d01c84f54fc72c81b113d9bd157a49d00 100644 (file)
@@ -37,9 +37,6 @@
 static void ws_read_ctl(rb_fde_t * F, void *data);
 static int wsockd_count;
 
-static char tmpbuf[READBUF_SIZE];
-static char nul = '\0';
-
 #define MAXPASSFD 4
 #define READSIZE 1024
 typedef struct _ws_ctl_buf
@@ -163,6 +160,7 @@ restart_wsockd(void)
        start_wsockd(ServerInfo.wsockd_count);
 }
 
+#if 0
 static void
 ws_killall(void)
 {
@@ -181,6 +179,7 @@ ws_killall(void)
                        free_ws_daemon(ctl);
        }
 }
+#endif
 
 static void
 ws_dead(ws_ctl_t * ctl)
@@ -367,7 +366,6 @@ ws_process_cmd_recv(ws_ctl_t * ctl)
 {
        rb_dlink_node *ptr, *next;
        ws_ctl_buf_t *ctl_buf;
-       unsigned long len;
 
        if(ctl->dead)
                return;