diff options
author | oga | 2009-08-24 21:22:48 +0000 |
---|---|---|
committer | oga | 2009-08-24 21:22:48 +0000 |
commit | c460e9758e8fcb33b958beca85d70b67857758d4 (patch) | |
tree | c7b727050f8e11bfab7a85ea73440e8f7109914a /client.c | |
parent | 4ab2deedeb800d2e9ab96b2153261c520bec2de5 (diff) | |
download | cwm-c460e9758e8fcb33b958beca85d70b67857758d4.tar.gz |
Instead of having a function that just calls TAILQ_INIT on a global, use
TAILQ_HEAD_INITIALIZER() and drop the function.
ok okan@
Diffstat (limited to '')
-rw-r--r-- | client.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.58 2009/08/24 17:04:39 oga Exp $ + * $Id: client.c,v 1.59 2009/08/24 21:22:48 oga Exp $ */ #include "headers.h" @@ -32,12 +32,6 @@ static int client_inbound(struct client_ctx *, int, int); static char emptystring[] = ""; struct client_ctx *_curcc = NULL; -void -client_init(void) -{ - TAILQ_INIT(&Clientq); -} - struct client_ctx * client_find(Window win) { |