Commit 777ea03a authored by Mark Andrews's avatar Mark Andrews
Browse files

move definition of FILE_VERSION to after #define of FILE_VERSION

parent c312172e
...@@ -109,9 +109,6 @@ ...@@ -109,9 +109,6 @@
*/ */
typedef struct rbtdb_file_header rbtdb_file_header_t; 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 */ /* Header length, always the same size regardless of structure size */
#define RBTDB_HEADER_LENGTH 1024 #define RBTDB_HEADER_LENGTH 1024
...@@ -841,6 +838,9 @@ static void free_rbtdb(dns_rbtdb_t *rbtdb, isc_boolean_t log, ...@@ -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 overmem(dns_db_t *db, isc_boolean_t overmem);
static void setnsec3parameters(dns_db_t *db, rbtdb_version_t *version); 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 * 'init_count' is used to initialize 'newheader->count' which inturn
* is used to determine where in the cycle rrset-order cyclic starts. * is used to determine where in the cycle rrset-order cyclic starts.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment