[vlc-devel] [PATCH 24/27] modules/access/v4l2/linux: fixed include-guards

Filip Roséen filip at atch.se
Mon Feb 22 01:13:05 CET 2016


  * renamed include-guards to fix issues with reserved identifiers
  * replaced comments at `#endif` corresponding to include-guard
---
 modules/access/v4l2/linux/videodev2.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/v4l2/linux/videodev2.h b/modules/access/v4l2/linux/videodev2.h
index 2a258af..6374be9 100644
--- a/modules/access/v4l2/linux/videodev2.h
+++ b/modules/access/v4l2/linux/videodev2.h
@@ -53,8 +53,8 @@
  *              Hans Verkuil <hverkuil at xs4all.nl>
  *		et al.
  */
-#ifndef _UAPI__LINUX_VIDEODEV2_H
-#define _UAPI__LINUX_VIDEODEV2_H
+#ifndef VLC_V4L2_VIDEODEV2_H_
+#define VLC_V4L2_VIDEODEV2_H_
 
 #include <sys/time.h>
 #include <linux/ioctl.h>
@@ -2018,4 +2018,4 @@ struct v4l2_create_buffers {
 
 #define BASE_VIDIOC_PRIVATE	192		/* 192-255 are private */
 
-#endif /* _UAPI__LINUX_VIDEODEV2_H */
+#endif /* include-guard */
-- 
2.7.1



More information about the vlc-devel mailing list