Nuke unused functions.

This commit is contained in:
Nicholas Marriott
2010-03-27 15:12:56 +00:00
parent dd7abd9b4c
commit 4012917302
5 changed files with 5 additions and 40 deletions

View File

@ -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)