aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger <shemming@brocade.com>2015-10-22 23:42:37 -0700
committerStephen Hemminger <shemming@brocade.com>2015-10-22 23:42:37 -0700
commit651dccbee73fc0c1144254bb7a253c0e48411752 (patch)
tree169c2bef592f5c4e7798ebfaec12e5331f9954aa /include
parentb89c359c15b7b20f153813aabfc62071bc6f94a8 (diff)
parentd583e88ebc859d6ef5bddffb098fa95158d55c75 (diff)
downloadandroid_external_iproute2-651dccbee73fc0c1144254bb7a253c0e48411752.tar.gz
android_external_iproute2-651dccbee73fc0c1144254bb7a253c0e48411752.tar.bz2
android_external_iproute2-651dccbee73fc0c1144254bb7a253c0e48411752.zip
Merge branch 'master' into net-next
Diffstat (limited to 'include')
-rw-r--r--include/linux/rtnetlink.h2
-rw-r--r--include/rtm_map.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 10452e0..18c543a 100644
--- a/include/linux/rtnetlink.h
+++ b/include/linux/rtnetlink.h
@@ -160,7 +160,7 @@ struct rtattr {
/* Macros to handle rtattributes */
-#define RTA_ALIGNTO 4
+#define RTA_ALIGNTO 4U
#define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
#define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
(rta)->rta_len >= sizeof(struct rtattr) && \
diff --git a/include/rtm_map.h b/include/rtm_map.h
index 70bda7d..d6e5885 100644
--- a/include/rtm_map.h
+++ b/include/rtm_map.h
@@ -4,7 +4,6 @@
char *rtnl_rtntype_n2a(int id, char *buf, int len);
int rtnl_rtntype_a2n(int *id, char *arg);
-int get_rt_realms(__u32 *realms, char *arg);
-
+int get_rt_realms_or_raw(__u32 *realms, char *arg);
#endif /* __RTM_MAP_H__ */