Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 09:59:22 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/include/linux: nbsd-namespace.h

Log Message:
Work around our #define free.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/external/bsd/drm2/include/linux/nbsd-namespace.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/nbsd-namespace.h
diff -u src/sys/external/bsd/drm2/include/linux/nbsd-namespace.h:1.2 src/sys/external/bsd/drm2/include/linux/nbsd-namespace.h:1.3
--- src/sys/external/bsd/drm2/include/linux/nbsd-namespace.h:1.2	Fri Feb 14 04:38:48 2020
+++ src/sys/external/bsd/drm2/include/linux/nbsd-namespace.h	Sun Dec 19 09:59:22 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: nbsd-namespace.h,v 1.2 2020/02/14 04:38:48 riastradh Exp $	*/
+/*	$NetBSD: nbsd-namespace.h,v 1.3 2021/12/19 09:59:22 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -43,4 +43,7 @@
 #define	mutex_destroy	linux_mutex_destroy
 #define	mutex_init	linux_mutex_init
 
+/* Disable our historic malloc(9) compatibility macro.  */
+#undef	free
+
 #endif  /* _LINUX_NBSD_NAMESPACE_H_ */

Reply via email to