diff --git a/src/common.h b/src/common.h index 0d874d6..e704ec7 100644 --- a/src/common.h +++ b/src/common.h @@ -8,6 +8,8 @@ #include #include +#define TOGGLE(x) ((x) ^= 1) + #ifndef M_PI #define M_PI 3.14159265358979323846 #endif diff --git a/src/lib.h b/src/lib.h index 2cb03cb..9b65a2e 100644 --- a/src/lib.h +++ b/src/lib.h @@ -3,8 +3,6 @@ #include "rds.h" #include -#define TOGGLE(x) ((x) ^= 1) - void msleep(unsigned long ms); int _strnlen(const char *s, int maxlen);