summaryrefslogtreecommitdiff
path: root/src/datatypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/datatypes.h')
-rw-r--r--src/datatypes.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/datatypes.h b/src/datatypes.h
index 051d62e..09ae988 100644
--- a/src/datatypes.h
+++ b/src/datatypes.h
@@ -34,18 +34,9 @@
#include <stdint.h>
-typedef uint8_t u_int8_t;
-typedef uint16_t u_int16_t;
-typedef uint32_t u_int32_t;
-typedef uint64_t u_int64_t;
-/* typedef int8_t int8_t; */
-/* typedef int16_t int16_t; */
-/* typedef int32_t int32_t; */
-/* typedef int64_t int64_t; */
-
struct buffer_struct {
- u_int32_t length_;
- u_int8_t* buf_;
+ uint32_t length_;
+ uint8_t* buf_;
};
typedef struct buffer_struct buffer_t;