Introduction
Introduction Statistics Contact Development Disclaimer Help
common: Move gopher type enum out of common header - sacc - sacc - sacc(omys), …
git clone git://git.codemadness.org/sacc
Log
Files
Refs
LICENSE
---
commit 6b0f1c92c58fcff0de4724a1c005264e86794244
parent cf707964fe31a4987713b4ae89eea96e63640c6a
Author: Quentin Rameau <[email protected]>
Date: Wed, 20 Jul 2022 23:27:03 +0200
common: Move gopher type enum out of common header
Diffstat:
M common.h | 21 ---------------------
M sacc.c | 22 ++++++++++++++++++++++
2 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git 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
@@ -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
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.