mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Nuke unused functions.
This commit is contained in:
11
server-fn.c
11
server-fn.c
@ -1,4 +1,4 @@
|
||||
/* $Id: server-fn.c,v 1.102 2010-01-25 17:13:43 tcunha Exp $ */
|
||||
/* $Id: server-fn.c,v 1.103 2010-03-27 15:12:56 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -42,15 +42,6 @@ server_fill_environ(struct session *s, struct environ *env)
|
||||
environ_set(env, "TERM", term);
|
||||
}
|
||||
|
||||
void
|
||||
server_write_error(struct client *c, const char *msg)
|
||||
{
|
||||
struct msg_print_data printdata;
|
||||
|
||||
strlcpy(printdata.msg, msg, sizeof printdata.msg);
|
||||
server_write_client(c, MSG_ERROR, &printdata, sizeof printdata);
|
||||
}
|
||||
|
||||
void
|
||||
server_write_client(
|
||||
struct client *c, enum msgtype type, const void *buf, size_t len)
|
||||
|
Reference in New Issue
Block a user