]> Pileus Git - ~andy/linux/blobdiff - include/net/rtnetlink.h
Merge branch 'cputime' of git://git390.marist.edu/pub/scm/linux-2.6
[~andy/linux] / include / net / rtnetlink.h
index b630196b562779abaa785cb47e5df2e0ae8b0483..c3aa044d3fc395bc939941b7aba57ea4b3a7d9d5 100644 (file)
@@ -14,7 +14,7 @@ extern void   rtnl_register(int protocol, int msgtype,
 extern int     rtnl_unregister(int protocol, int msgtype);
 extern void    rtnl_unregister_all(int protocol);
 
-static inline int rtnl_msg_family(struct nlmsghdr *nlh)
+static inline int rtnl_msg_family(const struct nlmsghdr *nlh)
 {
        if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg))
                return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family;