diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-07-29 09:41:55 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-08-18 01:50:23 +0200 |
commit | c299ed717eea4dbf7ca3581bcba05ff09f79276c (patch) | |
tree | 1c5bcdf75892ef9958edc8f38dd7f01922f0e57d /lib/queue.h | |
parent | 16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058 (diff) | |
download | quagga-c299ed717eea4dbf7ca3581bcba05ff09f79276c.tar.bz2 quagga-c299ed717eea4dbf7ca3581bcba05ff09f79276c.tar.xz |
zebra: fix struct msghdr initializers
struct msghdr field orders are not strictly specified in POSIX.
Improve portability by using designated initializer. This fixes
build against musl c-library where struct msghdr is POSIX
compliant (Linux kernel and glibc definitions are non-conforming).
As the result is also more readable, struct iovec initilizers
were also converted.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/queue.h')
0 files changed, 0 insertions, 0 deletions