Commit 69fb7bf4 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

Add extern C guard for C++


Signed-off-by: Xaver Hugl's avatarXaver Hugl <xaver.hugl@gmail.com>
Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
parent db5141a9
Pipeline #381854 passed with stages
in 34 seconds
......@@ -28,6 +28,10 @@
#include <stdbool.h>
#include <libxcvt/libxcvt_mode.h>
#ifdef __cplusplus
extern "C" {
#endif
struct libxcvt_mode_info *
libxcvt_gen_mode_info(int hdisplay,
int vdisplay,
......@@ -35,4 +39,8 @@ libxcvt_gen_mode_info(int hdisplay,
bool reduced,
bool interlaced);
#ifdef __cplusplus
}
#endif
#endif /* _LIBCVT_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