summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-29 03:32:31 +0000
committerderaadt <deraadt@openbsd.org>1996-08-29 03:32:31 +0000
commitd6243524f81012c1001570990213e0f9959ea58a (patch)
treea66a33fffe519c30dfc39c148b273d45dfcf68b7
parentfix warnings (diff)
downloadwireguard-openbsd-d6243524f81012c1001570990213e0f9959ea58a.tar.xz
wireguard-openbsd-d6243524f81012c1001570990213e0f9959ea58a.zip
int main
-rw-r--r--usr.sbin/accton/accton.c3
-rw-r--r--usr.sbin/chroot/chroot.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/accton/accton.c b/usr.sbin/accton/accton.c
index b36b638dbc7..c0f257dfd59 100644
--- a/usr.sbin/accton/accton.c
+++ b/usr.sbin/accton/accton.c
@@ -39,11 +39,12 @@ char copyright[] =
#ifndef lint
/* from: static char sccsid[] = "@(#)accton.c 4.3 (Berkeley) 6/1/90"; */
-static char *rcsid = "$Id: accton.c,v 1.1.1.1 1995/10/18 08:47:09 deraadt Exp $";
+static char *rcsid = "$Id: accton.c,v 1.2 1996/08/29 03:32:31 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
+int
main(argc, argv)
int argc;
char **argv;
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c
index 579ce0e1384..cd9925f09bc 100644
--- a/usr.sbin/chroot/chroot.c
+++ b/usr.sbin/chroot/chroot.c
@@ -39,15 +39,17 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)chroot.c 5.8 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: chroot.c,v 1.1.1.1 1995/10/18 08:47:29 deraadt Exp $";
+static char rcsid[] = "$Id: chroot.c,v 1.2 1996/08/29 03:32:50 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
+#include <unistd.h>
#include <err.h>
+int
main(argc, argv)
int argc;
char **argv;