]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
move definition of FILE_VERSION to after #define of FILE_VERSION
authorMark Andrews <marka@isc.org>
Wed, 25 Jun 2014 02:29:15 +0000 (12:29 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Jun 2014 02:29:33 +0000 (12:29 +1000)
(cherry picked from commit 777ea03a9234e3f5037d0fe4012a5d6b0c52db9f)

lib/dns/rbtdb.c

index f26f2960bddcddc736dcfcdf6dde97ddf98bef25..087f0156eb97d808e77e383e0a0f70b19fd4fa60 100644 (file)
  */
 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.