From 93da988f769c19a9eb5812d69619868c3bdb4df4 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Wed, 8 Apr 2015 13:59:30 +1000 Subject: [PATCH] * move definitions --- src/bitmap.h | 3 +++ src/database.c | 3 --- src/util.c | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/bitmap.h b/src/bitmap.h index b5a3457..912c645 100644 --- a/src/bitmap.h +++ b/src/bitmap.h @@ -5,6 +5,9 @@ #define BITMAP_SIZE (BITMAP_SIDE * (BITMAP_SIDE / 8)) #define BITMAP_BITS (BITMAP_SIZE * 8) +#define CHAR_USED '@' +#define CHAR_NONE '-' + typedef unsigned char bitmap_t[BITMAP_SIZE]; int diff --git a/src/database.c b/src/database.c index c03f708..26b8519 100644 --- a/src/database.c +++ b/src/database.c @@ -42,9 +42,6 @@ return -1; \ } -#define CHAR_USED '@' -#define CHAR_NONE '-' - const char *imdb_hdr_fmt = "IMDB v%02u, CAPS: %s;"; int imdb_init(imdb_t *db, const char *path) diff --git a/src/util.c b/src/util.c index ec75e3d..a27196f 100644 --- a/src/util.c +++ b/src/util.c @@ -21,9 +21,6 @@ #include #include -#define CHAR_USED '@' -#define CHAR_NONE '-' - void usage(int exitcode) { printf( "Usage: imdb-util \n"