summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/datatypes.h6
-rw-r--r--src/options.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/datatypes.h b/src/datatypes.h
index 3f7d358..df3de45 100644
--- a/src/datatypes.h
+++ b/src/datatypes.h
@@ -64,4 +64,10 @@ typedef u_int16_t mux_t;
#define MUX_T_NTOH(a) ntohs(a)
#define MUX_T_HTON(a) htons(a)
+struct buffer_struct {
+ u_int32_t length_;
+ u_int8_t* buf_;
+};
+typedef struct buffer_struct buffer_t;
+
#endif
diff --git a/src/options.h b/src/options.h
index 91ae768..8702291 100644
--- a/src/options.h
+++ b/src/options.h
@@ -35,12 +35,6 @@
#ifndef _OPTIONS_H_
#define _OPTIONS_H_
-struct buffer_struct {
- u_int32_t length_;
- u_int8_t* buf_;
-};
-typedef struct buffer_struct buffer_t;
-
struct options_struct {
char* progname_;
int daemonize_;