summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-05-11 15:15:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-05-11 15:15:01 +0000
commit90a1ad6e726aaf0b2f0b1bfe21ebaceb736c1676 (patch)
treee1dd3e0ea624bd4e1fd66633fc6e027892e6e947
parent36beecdcf341744e125b9e69a855caec68a5bc70 (diff)
more cleaning
-rw-r--r--distrib/common/rdsetroot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/common/rdsetroot.c b/distrib/common/rdsetroot.c
index cdaa018b55a..a858859c206 100644
--- a/distrib/common/rdsetroot.c
+++ b/distrib/common/rdsetroot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdsetroot.c,v 1.5 2001/05/11 14:06:15 art Exp $ */
+/* $OpenBSD: rdsetroot.c,v 1.6 2001/05/11 15:15:00 deraadt Exp $ */
/* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */
/*
@@ -38,6 +38,7 @@
#include <sys/mman.h>
#include <stdio.h>
+#include <unistd.h>
#include <a.out.h>
extern off_t lseek();
@@ -62,6 +63,7 @@ int data_len;
int data_off;
int data_pgoff;
+int
main(argc,argv)
char **argv;
{
@@ -191,6 +193,7 @@ struct nlist wantsyms[] = {
{ NULL, 0 },
};
+void
find_rd_root_image(file)
char *file;
{