summaryrefslogtreecommitdiffstats
path: root/lib/thread.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-07-29 09:41:55 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2014-08-18 01:50:23 +0200
commitc299ed717eea4dbf7ca3581bcba05ff09f79276c (patch)
tree1c5bcdf75892ef9958edc8f38dd7f01922f0e57d /lib/thread.c
parent16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058 (diff)
downloadquagga-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/thread.c')
0 files changed, 0 insertions, 0 deletions