summaryrefslogtreecommitdiff
path: root/libexec/talkd/table.c
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2016-02-01 07:25:52 +0000
committermestre <mestre@cvs.openbsd.org>2016-02-01 07:25:52 +0000
commita14c7584d7ff1b587f6535df1933a5add8b08993 (patch)
tree67b173846cef4878a63bef8e5e270c91060a0236 /libexec/talkd/table.c
parent8c77a6f7aabd5e56f7fabfc939bfff564cfb7c82 (diff)
Remove unused headers and sort the remaining
OK tb@
Diffstat (limited to 'libexec/talkd/table.c')
-rw-r--r--libexec/talkd/table.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c
index 556ddfd4d66..b341ba2908b 100644
--- a/libexec/talkd/table.c
+++ b/libexec/talkd/table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table.c,v 1.16 2015/01/16 06:39:51 deraadt Exp $ */
+/* $OpenBSD: table.c,v 1.17 2016/02/01 07:25:51 mestre Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -37,15 +37,15 @@
*
* Consider this a mis-guided attempt at modularity
*/
-#include <sys/time.h>
-#include <sys/socket.h>
#include <sys/queue.h>
+#include <sys/socket.h>
#include <protocols/talkd.h>
-#include <syslog.h>
-#include <unistd.h>
-#include <stdio.h>
+
#include <stdlib.h>
#include <string.h>
+#include <syslog.h>
+#include <unistd.h>
+
#include "talkd.h"
#define MAX_ID 16000 /* << 2^15 so I don't have sign troubles */