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

index d82e245638da822e2a4928786cb6b77cde909e22..6c49d4b38f65fada4540ae982a204b1fce854b59 100644 (file)
@@ -219,6 +219,8 @@ struct isc__mempool {
 static void
 print_active(isc__mem_t *ctx, FILE *out);
 
+#endif /* ISC_MEM_TRACKLINES */
+
 /*%
  * The following are intended for internal use (indicated by "isc__"
  * prefix) but are not declared as static, allowing direct access
@@ -311,7 +313,6 @@ void
 isc__mem_printallactive(FILE *file);
 unsigned int
 isc__mem_references(isc_mem_t *ctx0);
-#endif /* ISC_MEM_TRACKLINES */
 
 static struct isc__memmethods {
        isc_memmethods_t methods;