ubusd/libubus-io: fix variable sized struct position warning
authorPetr Štetiar <ynezz@true.cz>
Wed, 11 Dec 2019 09:07:08 +0000 (10:07 +0100)
committerPetr Štetiar <ynezz@true.cz>
Mon, 16 Dec 2019 22:39:16 +0000 (23:39 +0100)
commit5d7ca8309d0a1614d829df9ecd72553bcd6b5ec6
treeeeed2150756cf5f551d7a4b28e861ffa31139c0b
parentd61282db56404bae71515d207b878a445854624a
ubusd/libubus-io: fix variable sized struct position warning

Fixes following clang-9 compiler warnings:

 ubusd.c:99:18: error: field 'h' with variable sized type 'struct cmsghdr' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
                struct cmsghdr h;
                               ^

Signed-off-by: Petr Štetiar <ynezz@true.cz>
libubus-io.c
ubusd.c