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/dist/include/drm avoid malloc.h macro ...
details: https://anonhg.NetBSD.org/src/rev/fc6caa70b66e
branches: trunk
changeset: 1028196:fc6caa70b66e
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:48:14 2021 +0000
description:
avoid malloc.h macro pollution.
free is a function in drm_gem_object_funcs
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/include/drm/drm_gem.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 94889e837086 -r fc6caa70b66e sys/external/bsd/drm2/dist/include/drm/drm_gem.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_gem.h Sun Dec 19 09:48:06 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_gem.h Sun Dec 19 09:48:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_gem.h,v 1.9 2021/12/19 09:45:34 riastradh Exp $ */
+/* $NetBSD: drm_gem.h,v 1.10 2021/12/19 09:48:14 riastradh Exp $ */
#ifndef __DRM_GEM_H__
#define __DRM_GEM_H__
@@ -45,6 +45,7 @@
#include <linux/dma-resv.h>
#include <drm/drm_vma_manager.h>
+#undef free
struct drm_gem_object;
struct xarray;
Home |
Main Index |
Thread Index |
Old Index