From 98ee06d3d46aa7f89c204681c7075b53300a6a6e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 31 Dec 2006 18:57:37 +0000 Subject: stop using __u32 etc. uint32_t is there for a reason --- networking/libiproute/libnetlink.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'networking/libiproute/libnetlink.h') diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index 7cfcd2042..bd1913618 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h @@ -2,7 +2,7 @@ #ifndef __LIBNETLINK_H__ #define __LIBNETLINK_H__ 1 -#include +//#include #include #include @@ -11,8 +11,8 @@ struct rtnl_handle int fd; struct sockaddr_nl local; struct sockaddr_nl peer; - __u32 seq; - __u32 dump; + uint32_t seq; + uint32_t dump; }; extern int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions); @@ -31,9 +31,9 @@ extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, extern int rtnl_send(struct rtnl_handle *rth, char *buf, int); -extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data); +extern int addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data); extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen); -extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data); +extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data); extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen); extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len); -- cgit v1.2.3