Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux Work around our #define ...
details: https://anonhg.NetBSD.org/src/rev/345964668897
branches: trunk
changeset: 1028272:345964668897
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:59:22 2021 +0000
description:
Work around our #define free.
diffstat:
sys/external/bsd/drm2/include/linux/nbsd-namespace.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ceda846d5cb3 -r 345964668897 sys/external/bsd/drm2/include/linux/nbsd-namespace.h
--- a/sys/external/bsd/drm2/include/linux/nbsd-namespace.h Sun Dec 19 09:59:13 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/nbsd-namespace.h Sun Dec 19 09:59:22 2021 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index