From: Mark Andrews Date: Wed, 25 Jun 2014 02:29:15 +0000 (+1000) Subject: move definition of FILE_VERSION to after #define of FILE_VERSION X-Git-Tag: v9.10.1b2~80 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ebe68cb7c6231e70b7d40b4f493c51bdf97a9d01;p=thirdparty%2Fbind9.git move definition of FILE_VERSION to after #define of FILE_VERSION (cherry picked from commit 777ea03a9234e3f5037d0fe4012a5d6b0c52db9f) --- diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index f26f2960bdd..087f0156eb9 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -109,9 +109,6 @@ */ typedef struct rbtdb_file_header rbtdb_file_header_t; -/* Pad to 32 bytes */ -static char FILE_VERSION[32] = "\0"; - /* Header length, always the same size regardless of structure size */ #define RBTDB_HEADER_LENGTH 1024 @@ -841,6 +838,9 @@ static void free_rbtdb(dns_rbtdb_t *rbtdb, isc_boolean_t log, static void overmem(dns_db_t *db, isc_boolean_t overmem); static void setnsec3parameters(dns_db_t *db, rbtdb_version_t *version); +/* Pad to 32 bytes */ +static char FILE_VERSION[32] = "\0"; + /*% * 'init_count' is used to initialize 'newheader->count' which inturn * is used to determine where in the cycle rrset-order cyclic starts.