[vlc-devel] [PATCH 04/27] modules/video_chroma: fixed include-guards
Filip Roséen
filip at atch.se
Mon Feb 22 01:12:45 CET 2016
* renamed include-guards that were making use of reserved identifiers
---
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..b4e4060 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_COPY_H_
+#define VLC_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..750e870 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_DXGI_FMT_H_
+#define VLC_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 */
--
2.7.1
More information about the vlc-devel
mailing list