summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd/include
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2015-12-11 04:26:01 +0000
committermmcc <mmcc@openbsd.org>2015-12-11 04:26:01 +0000
commit8b668fe1dba3a1db12e09e1c086f4072a0cf55b0 (patch)
treeab3637ffafa2e076f3fd587c7f35294e518404d9 /usr.sbin/amd/include
parentRemove NULL-checks before sshbuf_free(). (diff)
downloadwireguard-openbsd-8b668fe1dba3a1db12e09e1c086f4072a0cf55b0.tar.xz
wireguard-openbsd-8b668fe1dba3a1db12e09e1c086f4072a0cf55b0.zip
Remove debugging fluff from allocation functions. There's probably more
of this stuff elsewhere in amd. "such clutter just makes people not care" deraadt@
Diffstat (limited to 'usr.sbin/amd/include')
-rw-r--r--usr.sbin/amd/include/config.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/amd/include/config.h b/usr.sbin/amd/include/config.h
index c0c9e89df4c..eacdb8cf468 100644
--- a/usr.sbin/amd/include/config.h
+++ b/usr.sbin/amd/include/config.h
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)config.h 8.1 (Berkeley) 6/6/93
- * $Id: config.h,v 1.11 2014/10/26 02:32:51 guenther Exp $
+ * $Id: config.h,v 1.12 2015/12/11 04:26:01 mmcc Exp $
*/
/*
@@ -72,10 +72,6 @@ extern int orig_umask; /* umask() on startup */
#ifdef DEBUG
#define D_ALL (~0)
-#ifdef DEBUG_MEM
-#define free(x) xfree(__FILE__,__LINE__,x)
-#endif /* DEBUG_MEM */
-
#define Debug(x) if (!(debug_flags & (x))) ; else
#define dlog Debug(D_FULL) dplog
#endif /* DEBUG */