[Pkg-Cyrus-imapd-Debian-devel] [SVN] r150 - trunk/cyrus-imapd-2.2.12/tools/config2header

pkg-cyrus-imapd-debian-devel@lists.alioth.debian.org pkg-cyrus-imapd-debian-devel@lists.alioth.debian.org
Wed, 22 Jun 2005 05:45:35 -0000


Author: ondrej
Date: Wed Jun 22 07:45:32 2005
New Revision: 150

URL: https://mail.incase.de/viewcvs?root=3Dcyrus22?view=3Drev&rev=3D150
Log:
fix FTBFS with gcc-4.0 in config2header (usage before declaration)
Modified:
    trunk/cyrus-imapd-2.2.12/tools/config2header

Modified: trunk/cyrus-imapd-2.2.12/tools/config2header
URL: https://mail.incase.de/viewcvs?root=3Dcyrus22/trunk/cyrus-imapd-2.2.12=
/tools/config2header?view=3Ddiff&rev=3D150&p1=3Dtrunk/cyrus-imapd-2.2.12/to=
ols/config2header&r1=3D149&p2=3Dtrunk/cyrus-imapd-2.2.12/tools/config2heade=
r&r2=3D150
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/cyrus-imapd-2.2.12/tools/config2header (original)
+++ trunk/cyrus-imapd-2.2.12/tools/config2header Wed Jun 22 07:45:32 2005
@@ -214,7 +214,6 @@
 print HFILE <<EOF
   IMAPOPT_LAST
 };
-extern struct imapopt_s imapopts[];
 =

 enum enum_value {
   IMAP_ENUM_ZERO =3D 0,
@@ -260,6 +259,8 @@
 =

 print HFILE <<EOF
 };
+extern struct imapopt_s imapopts[];
+
 #endif /* INCLUDED_IMAPOPTIONS_H */
 EOF
     ;