]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9] fix build error with ISC_MEM_TRACKLINES=0
authorEvan Hunt <each@isc.org>
Thu, 9 Jul 2015 21:24:29 +0000 (14:24 -0700)
committerEvan Hunt <each@isc.org>
Thu, 9 Jul 2015 21:24:29 +0000 (14:24 -0700)
lib/isc/mem.c

index b6cb60c6f641647cb356a78786799a241fadce0c..854425750bcd2230337fd0b8abf976b112d6affa 100644 (file)
@@ -216,6 +216,8 @@ struct isc__mempool {
 static void
 print_active(isc__mem_t *ctx, FILE *out);
 
+#endif /* ISC_MEM_TRACKLINES */
+
 /*%
  * The following can be either static or public, depending on build environment.
  */
@@ -322,7 +324,6 @@ isc__mem_checkdestroyed(FILE *file);
 ISC_MEMFUNC_SCOPE unsigned int
 isc__mem_references(isc_mem_t *ctx0);
 #endif
-#endif /* ISC_MEM_TRACKLINES */
 
 static struct isc__memmethods {
        isc_memmethods_t methods;