summaryrefslogtreecommitdiffstats
path: root/server-fn.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-25 06:15:04 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-25 06:15:04 +0000
commit1675ddb4d1880b834a2bd0bbae5a9ffa17eb596d (patch)
treee0947101a25be132a7c964959cf884705f2f1076 /server-fn.c
parented8350422e9472b657034367f39ab133f7913862 (diff)
Miscellaneous unused functions, including one which was basically a
duplicate. Found by lint.
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/server-fn.c b/server-fn.c
index 69926d8e..a025bf0a 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -76,22 +76,6 @@ server_write_session(
}
void
-server_write_window(
- struct window *w, enum hdrtype type, const void *buf, size_t len)
-{
- struct client *c;
- u_int i;
-
- for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
- c = ARRAY_ITEM(&clients, i);
- if (c == NULL || c->session == NULL)
- continue;
- if (c->session->curw->window == w)
- server_write_client(c, type, buf, len);
- }
-}
-
-void
server_redraw_client(struct client *c)
{
c->flags |= CLIENT_REDRAW;