summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_LOG.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-01-07 12:34:04 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-01-08 01:58:45 +0100
commit7ac405297ec38449b30e3b05fd6bf2082fd3d803 (patch)
tree5231547e7f2ce87b368135d1dd4720431e94e088 /extensions/libip6t_LOG.c
parent4a1d810bb52aa5d5c450f7adcde5145d40261b54 (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_LOG.c')
-rw-r--r--extensions/libip6t_LOG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_LOG.c b/extensions/libip6t_LOG.c
index 727ce6a3..bb85acb3 100644
--- a/extensions/libip6t_LOG.c
+++ b/extensions/libip6t_LOG.c
@@ -66,7 +66,7 @@ static const struct ip6t_log_names ip6t_log_names[]
{ .name = "warning", .level = LOG_WARNING }
};
-static u_int8_t
+static uint8_t
parse_level(const char *level)
{
unsigned int lev = -1;