diff --git a/common.h b/common.h index 3761006..4f98f23 100644 --- a/common.h +++ b/common.h @@ -13,13 +13,13 @@ #include #ifdef DEBUG -#define debug(x...) dsyslog("SATIP: " x); -#define info(x...) isyslog("SATIP: " x); -#define error(x...) esyslog("ERROR: " x); +#define debug(x...) dsyslog("SATIP: " x) +#define info(x...) isyslog("SATIP: " x) +#define error(x...) esyslog("ERROR: " x) #else #define debug(x...) ; -#define info(x...) isyslog("SATIP: " x); -#define error(x...) esyslog("ERROR: " x); +#define info(x...) isyslog("SATIP: " x) +#define error(x...) esyslog("ERROR: " x) #endif #define ELEMENTS(x) (sizeof(x) / sizeof(x[0])) diff --git a/device.c b/device.c index 77ca71a..5041285 100644 --- a/device.c +++ b/device.c @@ -7,7 +7,6 @@ #include "config.h" #include "discover.h" -#include "param.h" #include "device.h" #define SATIP_MAX_DEVICES MAXDEVICES