summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-04-30 19:29:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-04-30 19:29:02 +0000
commita99a5d1a5c782b5ab02f111cdc35000f3df4b3e2 (patch)
treeeea623c45deca88093c59da1602eb2a2e240c7c0 /usr.bin
parentf5ce14a201cf667c193486d7eab38b34a0909b47 (diff)
shuffle some things around to deal with incomplete types
gcc4 gets upset about. based on suggestions from miod@, ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ftp/extern.h3
-rw-r--r--usr.bin/ftp/ftp_var.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index 56c47aea643..855b9f779fe 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.39 2009/05/05 19:35:30 martynas Exp $ */
+/* $OpenBSD: extern.h,v 1.40 2010/04/30 19:29:01 jsg Exp $ */
/* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */
/*
@@ -128,7 +128,6 @@ void sendrequest(const char *, const char *, const char *, int);
extern jmp_buf abortprox;
extern int abrtflag;
-extern struct cmd cmdtab[];
extern FILE *cout;
extern int data;
extern char *home;
diff --git a/usr.bin/ftp/ftp_var.h b/usr.bin/ftp/ftp_var.h
index b2824f8ce27..cfe0ff563c2 100644
--- a/usr.bin/ftp/ftp_var.h
+++ b/usr.bin/ftp/ftp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftp_var.h,v 1.29 2009/05/05 19:35:30 martynas Exp $ */
+/* $OpenBSD: ftp_var.h,v 1.30 2010/04/30 19:29:01 jsg Exp $ */
/* $NetBSD: ftp_var.h,v 1.18 1997/08/18 10:20:25 lukem Exp $ */
/*
@@ -226,3 +226,5 @@ char macbuf[4096];
#endif /* !SMALL */
FILE *ttyout; /* stdout or stderr, depending on interactive */
+
+extern struct cmd cmdtab[];