X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecc.h;h=a720e7f9733924bffd755ae1f0dfd499955a984a;hb=a4b8e3f0b62e289ad5e0e6bf58949bbdeed1c623;hp=c19f1a7b20d9a2bc472e8dacdaf129283b08a567;hpb=9f68cc28b0e8e5d9caca7194a1ec53a78fa26d27;p=deb_libcec.git diff --git a/include/cecc.h b/include/cecc.h index c19f1a7..a720e7f 100644 --- a/include/cecc.h +++ b/include/cecc.h @@ -40,19 +40,12 @@ extern "C" { #endif -#ifdef __cplusplus -extern DECLSPEC int cec_init(const char *strDeviceName, CEC::cec_logical_address iLogicalAddress, uint16_t iPhysicalAddress); -#else -extern DECLSPEC int cec_init(const char *strDeviceName, cec_logical_address iLogicalAddress, uint16_t iPhysicalAddress); -#endif - #ifdef __cplusplus extern DECLSPEC int cec_init_typed(const char *strDeviceName, CEC::cec_device_type_list devicesTypes); #else extern DECLSPEC int cec_init_typed(const char *strDeviceName, cec_device_type_list devicesTypes); #endif - extern DECLSPEC void cec_destroy(void); extern DECLSPEC int cec_open(const char *strPort, uint32_t iTimeout);