summaryrefslogtreecommitdiff
path: root/bin/pax/getoldopt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-02 21:19:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-02 21:19:34 +0000
commitbe0a1ac3793cd197747bb916f03991f0dd5eccae (patch)
treed126eb4e863ca2baf200e61622c410f3861f3900 /bin/pax/getoldopt.c
parentc7d032fc4ac7d7924b20e1fea418272346d8c78c (diff)
missing protos
Diffstat (limited to 'bin/pax/getoldopt.c')
-rw-r--r--bin/pax/getoldopt.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/pax/getoldopt.c b/bin/pax/getoldopt.c
index 4de13cd0d82..45fdbf29fbc 100644
--- a/bin/pax/getoldopt.c
+++ b/bin/pax/getoldopt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getoldopt.c,v 1.7 2002/10/16 19:20:02 millert Exp $ */
+/* $OpenBSD: getoldopt.c,v 1.8 2003/07/02 21:19:33 deraadt Exp $ */
/* $NetBSD: getoldopt.c,v 1.3 1995/03/21 09:07:28 cgd Exp $ */
/*
@@ -11,12 +11,16 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: getoldopt.c,v 1.7 2002/10/16 19:20:02 millert Exp $";
+static const char rcsid[] = "$OpenBSD: getoldopt.c,v 1.8 2003/07/02 21:19:33 deraadt Exp $";
#endif /* not lint */
+#include <sys/types.h>
+#include <sys/stat.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include "pax.h"
+#include "extern.h"
int
getoldopt(int argc, char **argv, const char *optstring)