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"