mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Miscellaneous unused functions, including one which was basically a
duplicate. Found by lint.
This commit is contained in:
18
server-fn.c
18
server-fn.c
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user