summaryrefslogtreecommitdiffstats
path: root/common/quic.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/quic.c')
-rw-r--r--common/quic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/common/quic.c b/common/quic.c
index 507c4504..e9fef5b5 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -20,6 +20,7 @@
// http://sun.iinf.polsl.gliwice.pl/~rstaros/sfalic/index.html
#include "quic.h"
+#include <spice/macros.h>
//#define DEBUG
@@ -36,8 +37,6 @@
#define QUIC_VERSION_MINOR 1U
#define QUIC_VERSION ((QUIC_VERSION_MAJOR << 16) | (QUIC_VERSION_MAJOR & 0xffff))
-#define ABS(a) ((a) >= 0 ? (a) : -(a))
-
#ifdef DEBUG
#define ASSERT(usr, x) \
@@ -49,9 +48,6 @@
#endif
-#define FALSE 0
-#define TRUE 1
-
typedef uint8_t BYTE;
/* maximum number of codes in family */