svn commit: r361501 - stable/12/include

Konstantin Belousov kib at FreeBSD.org
Tue May 26 13:35:42 UTC 2020


Author: kib
Date: Tue May 26 13:35:41 2020
New Revision: 361501
URL: https://svnweb.freebsd.org/changeset/base/361501

Log:
  MFC r360984:
  Make include/malloc.h usable again.

Modified:
  stable/12/include/malloc.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/include/malloc.h
==============================================================================
--- stable/12/include/malloc.h	Tue May 26 10:24:06 2020	(r361500)
+++ stable/12/include/malloc.h	Tue May 26 13:35:41 2020	(r361501)
@@ -1,6 +1,6 @@
-/* $FreeBSD$ */
-#if __STDC__
-#error "<malloc.h> has been replaced by <stdlib.h>"
-#else
+/*-
+ * This file is in the public domain.
+ * $FreeBSD$
+ */
 #include <stdlib.h>
-#endif
+#include <malloc_np.h>


More information about the svn-src-stable mailing list