[vlc-devel] [PATCH 21/27] modules/codec: fixed include-guards

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


  * renamed include-guards to fix issues with reserved identifiers
---
 modules/codec/a52.h | 4 ++--
 modules/codec/cc.h  | 4 ++--
 modules/codec/mft.c | 2 ++
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/codec/a52.h b/modules/codec/a52.h
index 00078d3..3b7315c 100644
--- a/modules/codec/a52.h
+++ b/modules/codec/a52.h
@@ -24,8 +24,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _VLC_A52_H
-#define _VLC_A52_H 1
+#ifndef VLC_A52_H_
+#define VLC_A52_H_
 
 #include <vlc_bits.h>
 
diff --git a/modules/codec/cc.h b/modules/codec/cc.h
index d92602b..6c495c4 100644
--- a/modules/codec/cc.h
+++ b/modules/codec/cc.h
@@ -21,8 +21,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _CC_H
-#define _CC_H 1
+#ifndef VLC_CC_H_
+#define VLC_CC_H_
 
 #include <vlc_bits.h>
 
diff --git a/modules/codec/mft.c b/modules/codec/mft.c
index 7c6956c..d4d94be 100644
--- a/modules/codec/mft.c
+++ b/modules/codec/mft.c
@@ -54,6 +54,8 @@
 static int  Open(vlc_object_t *);
 static void Close(vlc_object_t *);
 
+
+
 vlc_module_begin()
     set_description(N_("Media Foundation Transform decoder"))
     add_shortcut("mft")
-- 
2.7.1



More information about the vlc-devel mailing list