diff options
author | Anders Magnusson <ragge@cvs.openbsd.org> | 2008-06-30 12:03:52 +0000 |
---|---|---|
committer | Anders Magnusson <ragge@cvs.openbsd.org> | 2008-06-30 12:03:52 +0000 |
commit | 0c10c45f0919900cd122a82c82c4350c794cae9d (patch) | |
tree | ebea986015ebc828e59d17735a9b4327d77201ae /libexec/ftpd/ftpd.c | |
parent | 4d2665823cceb42d0953e1acf87dbbe258667a31 (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.c | 6 |
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[]; |