From ccf40b8b3789193554ae13182c38ba7e69841cce Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 3 Apr 2010 01:30:52 +0200 Subject: use C99 types uintXX_t instead of POSIX u_intXX_t Signed-off-by: Pablo Neira Ayuso --- src/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/msg.c') 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; } -- cgit v1.2.3