projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82c778
)
xf86drmMode.h: Add header protection
author
David Herrman
<dh.herrmann@googlemail.com>
Fri, 9 Mar 2012 18:40:14 +0000
(13:40 -0500)
committer
Adam Jackson
<ajax@redhat.com>
Fri, 9 Mar 2012 18:40:14 +0000
(13:40 -0500)
xf86drmMode.h is missing a header protection. xf86drm.h has one so just
copy it and adjust the name.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
xf86drmMode.h
patch
|
blob
|
history
diff --git
a/xf86drmMode.h
b/xf86drmMode.h
index
34f5fb1
..
991e3f9
100644
(file)
--- a/
xf86drmMode.h
+++ b/
xf86drmMode.h
@@
-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