summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-28 14:28:09 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-28 14:28:09 +0000
commit3be96cca28681627ae9cd5cd95e1c5fba9c24b52 (patch)
tree4361b19332bb1c0489bab4fa4a337ea9ed1fe5d8 /src
parentoptions parser finished (diff)
small cleanup
Diffstat (limited to 'src')
-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_;