From: Hallvard Furuseth Date: Sun, 19 Jan 2003 13:35:53 +0000 (+0000) Subject: 'static' must come before 'const'. X-Git-Tag: NO_SLAP_OP_BLOCKS~611 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=933121a7d98d26d3e9ae4669526312c82cf2c02b;p=openldap 'static' must come before 'const'. --- diff --git a/libraries/libldap/dnssrv.c b/libraries/libldap/dnssrv.c index 8ac282d7b6..c76b1c07e2 100644 --- a/libraries/libldap/dnssrv.c +++ b/libraries/libldap/dnssrv.c @@ -43,8 +43,8 @@ int ldap_dn2domain( LDAPRDN *rdn = NULL; LDAPAVA *ava = NULL; struct berval domain = { 0, NULL }; - const static struct berval DC = BER_BVC("DC"); - const static struct berval DCOID = BER_BVC("0.9.2342.19200300.100.1.25"); + static const struct berval DC = BER_BVC("DC"); + static const struct berval DCOID = BER_BVC("0.9.2342.19200300.100.1.25"); assert( dn_in != NULL ); assert( domainp != NULL );