Browse Source

* move definitions

master
Alex 'AdUser' Z 10 years ago
parent
commit
93da988f76
  1. 3
      src/bitmap.h
  2. 3
      src/database.c
  3. 3
      src/util.c

3
src/bitmap.h

@ -5,6 +5,9 @@
#define BITMAP_SIZE (BITMAP_SIDE * (BITMAP_SIDE / 8)) #define BITMAP_SIZE (BITMAP_SIDE * (BITMAP_SIDE / 8))
#define BITMAP_BITS (BITMAP_SIZE * 8) #define BITMAP_BITS (BITMAP_SIZE * 8)
#define CHAR_USED '@'
#define CHAR_NONE '-'
typedef unsigned char bitmap_t[BITMAP_SIZE]; typedef unsigned char bitmap_t[BITMAP_SIZE];
int int

3
src/database.c

@ -42,9 +42,6 @@
return -1; \ return -1; \
} }
#define CHAR_USED '@'
#define CHAR_NONE '-'
const char *imdb_hdr_fmt = "IMDB v%02u, CAPS: %s;"; const char *imdb_hdr_fmt = "IMDB v%02u, CAPS: %s;";
int imdb_init(imdb_t *db, const char *path) int imdb_init(imdb_t *db, const char *path)

3
src/util.c

@ -21,9 +21,6 @@
#include <unistd.h> #include <unistd.h>
#include <getopt.h> #include <getopt.h>
#define CHAR_USED '@'
#define CHAR_NONE '-'
void usage(int exitcode) { void usage(int exitcode) {
printf( printf(
"Usage: imdb-util <opts>\n" "Usage: imdb-util <opts>\n"

Loading…
Cancel
Save