aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-06-01 14:08:57 +0000
committerWerner Koch <[email protected]>1999-06-01 14:08:57 +0000
commit3dddf602dd95863dab344486534874b4b561bd3d (patch)
tree322e4f944eb596a22af9fc4d98f2f000117672a7 /util/memory.c
parentSee ChangeLog: Mon May 31 19:41:10 CEST 1999 Werner Koch (diff)
downloadgnupg-3dddf602dd95863dab344486534874b4b561bd3d.tar.gz
gnupg-3dddf602dd95863dab344486534874b4b561bd3d.zip
See ChangeLog: Tue Jun 1 16:01:46 CEST 1999 Werner Koch
Diffstat (limited to 'util/memory.c')
-rw-r--r--util/memory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/memory.c b/util/memory.c
index ebf8f8893..40784375d 100644
--- a/util/memory.c
+++ b/util/memory.c
@@ -48,9 +48,10 @@
#define EXTRA_ALIGN 0
#endif
-static void membug( const char *fmt, ... );
#ifdef M_DEBUG
+ static void membug( const char *fmt, ... );
+
#ifndef M_GUARD
#define M_GUARD 1
#endif
@@ -318,7 +319,6 @@ check_allmem( const char *info )
check_mem(e->user_p-4-EXTRA_ALIGN, info);
}
-#endif /* M_DEBUG */
static void
membug( const char *fmt, ... )
@@ -337,6 +337,7 @@ membug( const char *fmt, ... )
abort();
}
+#endif /* M_DEBUG */
void
m_print_stats( const char *prefix )