[vlc-commits] video_chroma: fixed include-guards

Filip Roséen git at videolan.org
Mon Feb 22 11:59:33 CET 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Feb 22 01:12:45 2016 +0100| [d1a248bf86e4df447bee9c65070e69c1aa8b6ef7] | committer: Jean-Baptiste Kempf

video_chroma: fixed include-guards

  * renamed include-guards that were making use of reserved identifiers

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1a248bf86e4df447bee9c65070e69c1aa8b6ef7
---

 modules/video_chroma/copy.h     |    4 ++--
 modules/video_chroma/dxgi_fmt.h |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/video_chroma/copy.h b/modules/video_chroma/copy.h
index 38a3a38..06ac44d 100644
--- a/modules/video_chroma/copy.h
+++ b/modules/video_chroma/copy.h
@@ -21,8 +21,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _VLC_VIDEOCHROMA_COPY_H
-#define _VLC_VIDEOCHROMA_COPY_H 1
+#ifndef VLC_VIDEOCHROMA_COPY_H_
+#define VLC_VIDEOCHROMA_COPY_H_
 
 typedef struct {
 # ifdef CAN_COMPILE_SSE2
diff --git a/modules/video_chroma/dxgi_fmt.h b/modules/video_chroma/dxgi_fmt.h
index 4a0c03d..dc8839c 100644
--- a/modules/video_chroma/dxgi_fmt.h
+++ b/modules/video_chroma/dxgi_fmt.h
@@ -20,8 +20,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _VLC_VIDEOCHROMA_DXGI_H
-#define _VLC_VIDEOCHROMA_DXGI_H 1
+#ifndef VLC_VIDEOCHROMA_DXGI_FMT_H_
+#define VLC_VIDEOCHROMA_DXGI_FMT_H_
 
 #include <dxgiformat.h>
 
@@ -40,4 +40,4 @@ typedef struct
 extern const char *DxgiFormatToStr(DXGI_FORMAT format);
 extern const d3d_format_t *GetRenderFormatList(void);
 
-#endif /* _VLC_VIDEOCHROMA_DXGI_H */
+#endif /* include-guard */



More information about the vlc-commits mailing list