diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-09 11:10:00 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-09 11:10:00 +0100 |
commit | 90c5766caf16e35cb871116a4655a106a3c272dc (patch) | |
tree | ddc2ea976240a3f8f9c3294b41492256e6eb3f82 /common/quic.c | |
parent | 5cb99e12c6817592f49ca153a3081dd6b5995cf2 (diff) | |
download | spice-90c5766caf16e35cb871116a4655a106a3c272dc.tar.gz spice-90c5766caf16e35cb871116a4655a106a3c272dc.tar.xz spice-90c5766caf16e35cb871116a4655a106a3c272dc.zip |
Use macros from <spice/macros.h> rather than duplicate them
Diffstat (limited to 'common/quic.c')
-rw-r--r-- | common/quic.c | 6 |
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 */ |