Commit 1917275e authored by Christophe Mutricy's avatar Christophe Mutricy

Protect header against double inclusion

parent 93f85dc7
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#error You are not libvlc or one of its plugins. You cannot include this file #error You are not libvlc or one of its plugins. You cannot include this file
#endif #endif
#ifndef _VLC_CONFIGURATION_H
#define _VLC_CONFIGURATION_H 1
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
# endif # endif
...@@ -483,3 +487,5 @@ static inline char *config_chain_find_value( config_chain_t *p_cfg, const char * ...@@ -483,3 +487,5 @@ static inline char *config_chain_find_value( config_chain_t *p_cfg, const char *
# ifdef __cplusplus # ifdef __cplusplus
} }
# endif # endif
#endif /* _VLC_CONFIGURATION_H */
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
#error You are not libvlc or one of its plugins. You cannot include this file #error You are not libvlc or one of its plugins. You cannot include this file
#endif #endif
#ifndef _VLC_VARIABLES_H
#define _VLC_VARIABLES_H 1
/** /**
* \defgroup variables Variables * \defgroup variables Variables
* *
...@@ -598,4 +601,4 @@ static inline char *__var_CreateGetNonEmptyStringCommand( vlc_object_t *p_obj, ...@@ -598,4 +601,4 @@ static inline char *__var_CreateGetNonEmptyStringCommand( vlc_object_t *p_obj,
/** /**
* @} * @}
*/ */
#endif /* _VLC_VARIABLES_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment