From ebe68cb7c6231e70b7d40b4f493c51bdf97a9d01 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 25 Jun 2014 12:29:15 +1000 Subject: [PATCH] move definition of FILE_VERSION to after #define of FILE_VERSION (cherry picked from commit 777ea03a9234e3f5037d0fe4012a5d6b0c52db9f) --- lib/dns/rbtdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index f26f2960bd..087f0156eb 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.