[vlc-commits] vlc_modules.h: protect multiple includes
Steve Lhomme
git at videolan.org
Wed Jul 19 10:13:38 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Jul 17 16:33:07 2017 +0200| [88a973e9f6873948055ee7ddfca80254012089ef] | committer: Jean-Baptiste Kempf
vlc_modules.h: protect multiple includes
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88a973e9f6873948055ee7ddfca80254012089ef
---
include/vlc_modules.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/vlc_modules.h b/include/vlc_modules.h
index 2be48f0b2a..c2d3c26d20 100644
--- a/include/vlc_modules.h
+++ b/include/vlc_modules.h
@@ -21,6 +21,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifndef VLC_MODULES_H
+#define VLC_MODULES_H 1
+
/**
* \file
* This file defines functions for modules in vlc
@@ -78,3 +81,5 @@ VLC_USED static inline bool module_is_main( const module_t * p_module )
{
return !strcmp( module_get_object( p_module ), "core" );
}
+
+#endif /* VLC_MODULES_H */
More information about the vlc-commits
mailing list