summaryrefslogtreecommitdiff
path: root/libexec/rpc.rusersd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-08 21:18:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-08 21:18:14 +0000
commit699c4ce680db1fb49447b9e177bccaa2b451e33c (patch)
tree5abc4259a7dcc07ab250be730cfe703ce01ffaaf /libexec/rpc.rusersd
parentdc7875ea2fd93df64c33fcce973754bcd62b2343 (diff)
-Wall
Diffstat (limited to 'libexec/rpc.rusersd')
-rw-r--r--libexec/rpc.rusersd/rusers_proc.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c
index 93c3bb09939..820d08a7ef4 100644
--- a/libexec/rpc.rusersd/rusers_proc.c
+++ b/libexec/rpc.rusersd/rusers_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rusers_proc.c,v 1.8 2001/01/28 19:34:31 niklas Exp $ */
+/* $OpenBSD: rusers_proc.c,v 1.9 2001/07/08 21:18:10 deraadt Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@@ -29,19 +29,20 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.8 2001/01/28 19:34:31 niklas Exp $";
+static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.9 2001/07/08 21:18:10 deraadt Exp $";
#endif /* not lint */
-#include <signal.h>
+#include <sys/param.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
+#include <signal.h>
#include <utmp.h>
#include <stdio.h>
#include <syslog.h>
+#include <string.h>
#include <rpc/rpc.h>
-#include <sys/socket.h>
-#include <sys/param.h>
-#include <sys/stat.h>
#ifdef XIDLE
#include <setjmp.h>
#include <X11/Xlib.h>