diff options
author | Thomas Haller <thaller@redhat.com> | 2014-07-26 13:06:59 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-07-27 08:57:31 (GMT) |
commit | fc249f81c789c59ff7d82ca9c6ee2ef0ac05b6e4 (patch) | |
tree | 8c2d2350ce1c1b13dbf176c0149bd773b758a050 /lib/route/nexthop.c | |
parent | 9dc6e6da90016a33929f262bea0187396e1a061b (diff) | |
download | libnl-fc249f81c789c59ff7d82ca9c6ee2ef0ac05b6e4.zip libnl-fc249f81c789c59ff7d82ca9c6ee2ef0ac05b6e4.tar.gz libnl-fc249f81c789c59ff7d82ca9c6ee2ef0ac05b6e4.tar.bz2 |
style: require comma after __ADD() macro
$ sed -i 's/^\([\t ]\+\<__ADD\> \?([^)]\+)\) *$/\1,/' `git grep -w -l __ADD`
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/route/nexthop.c')
-rw-r--r-- | lib/route/nexthop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/route/nexthop.c b/lib/route/nexthop.c index d3ca499..a7cda90 100644 --- a/lib/route/nexthop.c +++ b/lib/route/nexthop.c @@ -277,9 +277,9 @@ uint32_t rtnl_route_nh_get_realms(struct rtnl_nexthop *nh) */ static const struct trans_tbl nh_flags[] = { - __ADD(RTNH_F_DEAD, dead) - __ADD(RTNH_F_PERVASIVE, pervasive) - __ADD(RTNH_F_ONLINK, onlink) + __ADD(RTNH_F_DEAD, dead), + __ADD(RTNH_F_PERVASIVE, pervasive), + __ADD(RTNH_F_ONLINK, onlink), }; char *rtnl_route_nh_flags2str(int flags, char *buf, size_t len) |