commit 6b0f1c92c58fcff0de4724a1c005264e86794244 Quentin Rameau <quinq@fifth.space> 2022-07-20 23:27:03 +0200 common: Move gopher type enum out of common header
common.h | 21 --------------------- sacc.c | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/common.h b/common.h index 622067f..09dc7ea 100644 --- a/common.h +++ b/common.h @@ -3,27 +3,6 @@ typedef struct item Item; typedef struct dir Dir; -enum { - TXT, - DIR, - CSO, - ERR, - MAC, - DOS, - UUE, - IND, - TLN, - BIN, - MIR, - IBM, - GIF, - IMG, - URL, - INF, - UNK, - BRK, -}; - struct item { char type; char redtype; diff --git a/sacc.c b/sacc.c index 85d40ab..2f57daa 100644 --- a/sacc.c +++ b/sacc.c @@ -21,6 +21,28 @@ #include "version.h" #include "common.h" #include "io.h" + +enum { + TXT, + DIR, + CSO, + ERR, + MAC, + DOS, + UUE, + IND, + TLN, + BIN, + MIR, + IBM, + GIF, + IMG, + URL, + INF, + UNK, + BRK, +}; + #define NEED_CONF #include "config.h" #undef NEED_CONF