]> git.ipfire.org Git - thirdparty/bird.git/commit - sysdep/linux/netlink.c
Portability: Fixed C extension error generated by CLang.
authorJan Moskyto Matejka <mq@ucw.cz>
Wed, 27 Apr 2016 12:45:14 +0000 (14:45 +0200)
committerJan Moskyto Matejka <mq@ucw.cz>
Tue, 10 May 2016 12:08:49 +0000 (14:08 +0200)
commita8caff322f83f1303c408bbefc440aeea9e619a3
tree4dbb111b625b3828baa55745756f75b2a0d1cbf5
parent7152e5efbb0fade868d5f2d2c7bc10ed52b3d19d
Portability: Fixed C extension error generated by CLang.

sysdep/linux/netlink.c:921:10: error: fields must have a constant size:
'variable length array in structure' extension will never be supported
    char buf[128 + KRT_METRICS_MAX*8 + nh_bufsize(a->nexthops)];
         ^
1 error generated.
sysdep/linux/netlink.c