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/libxt_owner.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/libxt_owner.c')
-rw-r--r-- | extensions/libxt_owner.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c index 867ed499..b9b11043 100644 --- a/extensions/libxt_owner.c +++ b/extensions/libxt_owner.c @@ -37,7 +37,7 @@ struct ipt_owner_info { pid_t pid; pid_t sid; char comm[16]; - u_int8_t match, invert; /* flags */ + uint8_t match, invert; /* flags */ }; struct ip6t_owner_info { @@ -46,7 +46,7 @@ struct ip6t_owner_info { pid_t pid; pid_t sid; char comm[16]; - u_int8_t match, invert; /* flags */ + uint8_t match, invert; /* flags */ }; /* @@ -353,7 +353,7 @@ static void owner_mt_check(unsigned int flags) static void owner_mt_print_item_v0(const struct ipt_owner_info *info, const char *label, - u_int8_t flag, bool numeric) + uint8_t flag, bool numeric) { if (!(info->match & flag)) return; @@ -404,7 +404,7 @@ owner_mt_print_item_v0(const struct ipt_owner_info *info, const char *label, static void owner_mt6_print_item_v0(const struct ip6t_owner_info *info, const char *label, - u_int8_t flag, bool numeric) + uint8_t flag, bool numeric) { if (!(info->match & flag)) return; @@ -449,7 +449,7 @@ owner_mt6_print_item_v0(const struct ip6t_owner_info *info, const char *label, static void owner_mt_print_item(const struct xt_owner_match_info *info, const char *label, - u_int8_t flag, bool numeric) + uint8_t flag, bool numeric) { if (!(info->match & flag)) return; |