summaryrefslogtreecommitdiffstats
path: root/src/msg.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-04-03 01:30:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-04-03 01:30:52 +0200
commitccf40b8b3789193554ae13182c38ba7e69841cce (patch)
treefdc23b19a491d255cdf8f755e999d1b191280628 /src/msg.c
parentf8fb875d3e48d833c1a120e7c3f470d614cbba50 (diff)
use C99 types uintXX_t instead of POSIX u_intXX_t
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg.c b/src/msg.c
index be828f5..6b603b2 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -104,7 +104,7 @@ void *mnl_nlmsg_put_extra_header(struct nlmsghdr *nlh, int size)
* This function returns the length of the netlink message by return the field
* nlmsg_len of the message.
*/
-u_int16_t mnl_nlmsg_get_len(const struct nlmsghdr *nlh)
+uint16_t mnl_nlmsg_get_len(const struct nlmsghdr *nlh)
{
return nlh->nlmsg_len;
}