]> granicus.if.org Git - strace/commit
Move nl_route_types definition from netlink.c to netlink_route.c
authorJingPiao Chen <chenjingpiao@gmail.com>
Fri, 16 Jun 2017 12:58:38 +0000 (20:58 +0800)
committerJingPiao Chen <chenjingpiao@gmail.com>
Wed, 9 Aug 2017 00:43:49 +0000 (08:43 +0800)
commit4c437e18561f5f45dd65a53f1d17b4c615d1758a
treef6d1de956d8606bdc219e84c96b6f5cff473f818
parent7f95ee601790920d11352e5c2481294c28810577
Move nl_route_types definition from netlink.c to netlink_route.c

The side effect of #include "xlat/nl_route_types.h" is
RTM_* constants properly defined in that header file.
While netlink.c does not use these constants itself,
netlink_route.c is going to need them soon.

* defs.h (nl_route_types): New xlat prototype.
* netlink.c: Move inclusion of "xlat/nl_route_types.h" ...
* netlink_route.c: ... here.
defs.h
netlink.c
netlink_route.c