move definition of FILE_VERSION to after #define of FILE_VERSION
(cherry picked from commit 777ea03a92)
This commit is contained in:
+3
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user