xf86drmMode.h: Add header protection
PATCH 1/1 xf86drmMode.h: Add header protection
xf86drmMode.h is missing a header protection. xf86drm.h has one so just copy it and adjust the name.
Signed-off-by David Herrmann <[email protected]>
---
I am not sure if this is the correct mailing-list for libdrm nor who the actual maintainer is. Please correct me if I should CC someone else or post it to another list.
Regards
David
xf86drmMode.h | 5 +++++ 1 file changed, 5 insertions(+)
xf86drmMode.h +5 -0
@@ -33,6 +33,9 @@* */ +#ifndef _XF86DRMMODE_H_ +#define _XF86DRMMODE_H_ + #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif
@@ -428,3 +431,5 @@ extern int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id,#if defined(__cplusplus) || defined(c_plusplus) }#endif + +#endif
Signature · 1 line
1.7.9.3
Adam Jackson
AppliedQuoted 6 lines · David Herrmann
xf86drmMode.his missing a header protection.xf86drm.hhas one so just copy it
and adjust the name.Signed-off-by David Herrmann <[email protected]>
Applied, thanks.
- ajax
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel