From 7ac405297ec38449b30e3b05fd6bf2082fd3d803 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 7 Jan 2011 12:34:04 +0100 Subject: src: use C99/POSIX types "u_int" was a non-standardized extension predating C99 on some platforms. Signed-off-by: Jan Engelhardt --- extensions/libxt_TOS.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libxt_TOS.c') diff --git a/extensions/libxt_TOS.c b/extensions/libxt_TOS.c index 9575c050..6ad22160 100644 --- a/extensions/libxt_TOS.c +++ b/extensions/libxt_TOS.c @@ -16,7 +16,7 @@ #include "tos_values.c" struct ipt_tos_target_info { - u_int8_t tos; + uint8_t tos; }; enum { @@ -185,7 +185,7 @@ static void tos_tg_print(const void *ip, const struct xt_entry_target *target, return; else if (info->tos_value == 0) printf("TOS and 0x%02x ", - (unsigned int)(u_int8_t)~info->tos_mask); + (unsigned int)(uint8_t)~info->tos_mask); else if (info->tos_value == info->tos_mask) printf("TOS or 0x%02x ", info->tos_value); else if (info->tos_mask == 0) -- cgit v1.2.3