summaryrefslogtreecommitdiffstats
path: root/usr.bin/rdist/rshrcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rdist/rshrcmd.c')
-rw-r--r--usr.bin/rdist/rshrcmd.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.bin/rdist/rshrcmd.c b/usr.bin/rdist/rshrcmd.c
index 6d2986b..306ef05 100644
--- a/usr.bin/rdist/rshrcmd.c
+++ b/usr.bin/rdist/rshrcmd.c
@@ -5,23 +5,18 @@
*/
#ifndef lint
-static char RCSid[] =
-"$Id$";
-#endif
+static const char rcsid[] =
+ "$Id$";
+#endif /* not lint */
#include "defs.h"
#if !defined(DIRECT_RCMD)
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <signal.h>
-#include <errno.h>
#include <netdb.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
static char *
xbasename(s)
OpenPOWER on IntegriCloud