summaryrefslogtreecommitdiffstats
path: root/src/rtnl.c
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-05-16 14:59:57 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-05-29 00:47:49 +0200
commitefa1d8e417ae5b685c206853aaa0e7f762574585 (patch)
tree65d34a349c89992a9fb1a1f3f5e9e1c4ca4c0a09 /src/rtnl.c
parent7a1a07c0028a1c88cd7716a058697c552a563b24 (diff)
src: Use stdint types everywhere
Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rtnl.c')
-rw-r--r--src/rtnl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 7b4ac7d..284eecd 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -30,7 +30,7 @@
#define rtnl_log(x, ...)
static inline struct rtnl_handler *
-find_handler(struct rtnl_handle *rtnl_handle, u_int16_t type)
+find_handler(struct rtnl_handle *rtnl_handle, uint16_t type)
{
struct rtnl_handler *h;
for (h = rtnl_handle->handlers; h; h = h->next) {
@@ -41,7 +41,7 @@ find_handler(struct rtnl_handle *rtnl_handle, u_int16_t type)
}
static int call_handler(struct rtnl_handle *rtnl_handle,
- u_int16_t type,
+ uint16_t type,
struct nlmsghdr *hdr)
{
struct rtnl_handler *h = find_handler(rtnl_handle, type);