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

Filip Roséen filip at atch.se
Sat Feb 20 23:20:29 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..fb1469f 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 ACCESS__V4L2__LINUX__VIDEODEV2_H_
+#define ACCESS__V4L2__LINUX__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