cec-config: fixed typo
[deb_libcec.git] / src / lib / LibCECC.cpp
index e2ae7f5d21b4fc4e544bc9ffd4059fd528249ba8..2b5357c340408986eb6942d61b733f3d6296b1ea 100644 (file)
@@ -30,8 +30,8 @@
  *     http://www.pulse-eight.net/
  */
 
-#include <cec.h>
-#include <cecc.h>
+#include "../../include/cec.h"
+#include "../../include/cecc.h"
 
 using namespace CEC;
 using namespace std;
@@ -42,12 +42,6 @@ using namespace std;
 //@{
 ICECAdapter *cec_parser;
 
-int cec_init(const char *strDeviceName, cec_logical_address iLogicalAddress, uint16_t iPhysicalAddress)
-{
-  cec_parser = (ICECAdapter *) CECCreate(strDeviceName, iLogicalAddress, iPhysicalAddress);
-  return (cec_parser != NULL) ? 1 : 0;
-}
-
 int cec_init_typed(const char *strDeviceName, cec_device_type_list devicesTypes)
 {
   cec_parser = (ICECAdapter *) CECInit(strDeviceName, devicesTypes);