summaryrefslogtreecommitdiffstats
path: root/include/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/malloc.h b/include/malloc.h
index d4407d2..2c63b65 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -1,5 +1,2 @@
-#if __GNUC__
-#warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
-#endif
-
-#include <stdlib.h>
+/* $FreeBSD$ */
+#error "<malloc.h> has been replaced by <stdlib.h>"
OpenPOWER on IntegriCloud