summaryrefslogtreecommitdiff
path: root/libexec/talkd/process.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/process.c
parent8c77a6f7aabd5e56f7fabfc939bfff564cfb7c82 (diff)
Remove unused headers and sort the remaining
OK tb@
Diffstat (limited to 'libexec/talkd/process.c')
-rw-r--r--libexec/talkd/process.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c
index 91b10ee4818..f53d485bb02 100644
--- a/libexec/talkd/process.c
+++ b/libexec/talkd/process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process.c,v 1.21 2015/01/16 06:39:51 deraadt Exp $ */
+/* $OpenBSD: process.c,v 1.22 2016/02/01 07:25:51 mestre Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -37,18 +37,20 @@
* in the table for the local user
* DELETE - delete invitation
*/
-#include <sys/stat.h>
#include <sys/socket.h>
-#include <netinet/in.h>
+#include <sys/stat.h>
#include <arpa/inet.h>
#include <protocols/talkd.h>
+
+#include <ctype.h>
+#include <limits.h>
#include <netdb.h>
-#include <syslog.h>
+#include <paths.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
-#include <paths.h>
-#include <limits.h>
+#include <syslog.h>
+#include <utmp.h>
+
#include "talkd.h"
#define satosin(sa) ((struct sockaddr_in *)(sa))
@@ -180,8 +182,6 @@ do_announce(CTL_MSG *mp, CTL_RESPONSE *rp)
}
}
-#include <utmp.h>
-
/*
* Search utmp for the local user
*/