From 3be96cca28681627ae9cd5cd95e1c5fba9c24b52 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 28 Dec 2008 14:28:09 +0000 Subject: small cleanup --- src/datatypes.h | 6 ++++++ src/options.h | 6 ------ 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_; -- cgit v1.2.3