diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-01-07 12:34:04 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-01-08 01:58:45 +0100 |
commit | 7ac405297ec38449b30e3b05fd6bf2082fd3d803 (patch) | |
tree | 5231547e7f2ce87b368135d1dd4720431e94e088 /extensions/libip6t_frag.c | |
parent | 4a1d810bb52aa5d5c450f7adcde5145d40261b54 (diff) |
src: use C99/POSIX types
"u_int" was a non-standardized extension predating C99 on some platforms.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libip6t_frag.c')
-rw-r--r-- | extensions/libip6t_frag.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libip6t_frag.c b/extensions/libip6t_frag.c index dd23cda6..fcaa72b8 100644 --- a/extensions/libip6t_frag.c +++ b/extensions/libip6t_frag.c @@ -31,7 +31,7 @@ static const struct option frag_opts[] = { XT_GETOPT_TABLEEND, }; -static u_int32_t +static uint32_t parse_frag_id(const char *idstr, const char *typestr) { unsigned long int id; @@ -56,7 +56,7 @@ parse_frag_id(const char *idstr, const char *typestr) } static void -parse_frag_ids(const char *idstring, u_int32_t *ids) +parse_frag_ids(const char *idstring, uint32_t *ids) { char *buffer; char *cp; @@ -149,7 +149,7 @@ static int frag_parse(int c, char **argv, int invert, unsigned int *flags, } static void -print_ids(const char *name, u_int32_t min, u_int32_t max, +print_ids(const char *name, uint32_t min, uint32_t max, int invert) { const char *inv = invert ? "!" : ""; |