summaryrefslogtreecommitdiffstats
path: root/include/netlink-private
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-07-26 13:06:59 (GMT)
committerThomas Haller <thaller@redhat.com>2014-07-27 08:57:31 (GMT)
commitfc249f81c789c59ff7d82ca9c6ee2ef0ac05b6e4 (patch)
tree8c2d2350ce1c1b13dbf176c0149bd773b758a050 /include/netlink-private
parent9dc6e6da90016a33929f262bea0187396e1a061b (diff)
downloadlibnl-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 'include/netlink-private')
-rw-r--r--include/netlink-private/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netlink-private/netlink.h b/include/netlink-private/netlink.h
index 990b99d..39f4dff 100644
--- a/include/netlink-private/netlink.h
+++ b/include/netlink-private/netlink.h
@@ -75,7 +75,7 @@ struct trans_tbl {
const char *a;
};
-#define __ADD(id, name) { .i = id, .a = #name },
+#define __ADD(id, name) { .i = id, .a = #name }
struct trans_list {
int i;