summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorAnders Magnusson <ragge@cvs.openbsd.org>2008-06-30 12:03:52 +0000
committerAnders Magnusson <ragge@cvs.openbsd.org>2008-06-30 12:03:52 +0000
commit0c10c45f0919900cd122a82c82c4350c794cae9d (patch)
treeebea986015ebc828e59d17735a9b4327d77201ae /libexec/ftpd/ftpd.c
parent4d2665823cceb42d0953e1acf87dbbe258667a31 (diff)
Include file order must be "monitor.h" before "extern.h" otherwise enum
auth_ret is referenced before it is declared, which is not allowed by C99. Ok krw@, millert@, gilles@
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 3a7c224010f..ad1f3bcb7da 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.182 2008/04/13 00:22:16 djm Exp $ */
+/* $OpenBSD: ftpd.c,v 1.183 2008/06/30 12:03:51 ragge Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -70,7 +70,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#else
static const char rcsid[] =
- "$OpenBSD: ftpd.c,v 1.182 2008/04/13 00:22:16 djm Exp $";
+ "$OpenBSD: ftpd.c,v 1.183 2008/06/30 12:03:51 ragge Exp $";
#endif
#endif /* not lint */
@@ -122,8 +122,8 @@ static const char rcsid[] =
#endif /* TCPWRAPPERS */
#include "pathnames.h"
-#include "extern.h"
#include "monitor.h"
+#include "extern.h"
extern off_t restart_point;
extern char cbuf[];