[vlc-commits] DCP: fixed include-guards

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


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

DCP: fixed include-guards

  * renamed include-guards to fix issues with reserved identifiers
  * replaced comment at `#endif` corresponding to include-guard

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

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

 modules/access/dcp/dcpparser.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/dcp/dcpparser.h b/modules/access/dcp/dcpparser.h
index 8f95e03..c3b1db0 100644
--- a/modules/access/dcp/dcpparser.h
+++ b/modules/access/dcp/dcpparser.h
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef _DCPPARSER_H
-#define _DCPPARSER_H
+#ifndef VLC_DCP_DCPPARSER_H_
+#define VLC_DCP_DCPPARSER_H_
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -395,4 +395,4 @@ private:
     string s_path;
 };
 
-#endif /* _DCPPARSER_H */
+#endif /* include-guard */



More information about the vlc-commits mailing list