C++ #include fix

This commit is contained in:
Rémi Denis-Courmont 2010-03-11 17:29:40 +02:00
parent a569473aa6
commit 19fdcb237a

View File

@ -220,8 +220,12 @@ static inline void vlm_media_Init( vlm_media_t *p_media )
* \param p_dst vlm_media_t instance to copy to
* \param p_src vlm_media_t instance to copy from
*/
static inline void vlm_media_Copy( vlm_media_t *restrict p_dst,
const vlm_media_t *restrict p_src )
static inline void
#ifndef __cplusplus
vlm_media_Copy( vlm_media_t *restrict p_dst, const vlm_media_t *restrict p_src )
#else
vlm_media_Copy( vlm_media_t *p_dst, const vlm_media_t *p_src )
#endif
{
int i;