diff options
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,6 +8,8 @@ #include <limits.h> #include <stddef.h> +#include "pack.h" + #define BITMASK(n) (UINTMAX_MAX >> (sizeof (uintmax_t) * CHAR_BIT - n)) #ifndef PRIuSIZE @@ -22,8 +24,6 @@ #endif #endif -enum endian { BIG, LITTLE }; - -size_t getsize(char c); +size_t getsize(enum pack_type t); #endif // !PACK_COMMON_H |