Miscellaneous unused functions, including one which was basically a

duplicate. Found by lint.
This commit is contained in:
Nicholas Marriott
2009-06-25 16:09:11 +00:00
parent 62822b1848
commit 582660bdf3
8 changed files with 8 additions and 140 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server-fn.c,v 1.61 2009-05-29 23:25:26 nicm Exp $ */
/* $OpenBSD: server-fn.c,v 1.2 2009/06/25 06:15:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -75,22 +75,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)
{