Convert sizeof foo to sizeof(foo).
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 7 Oct 2017 15:46:52 +0000 (17:46 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 7 Oct 2017 15:46:52 +0000 (17:46 +0200)
commit985d19caf20058db3c764f0f6fbeafa8bcc59fcc
tree918e3301ce388ea56b362e1d3d5cc81662bbc67b
parentd178b583df9fe2bf3ebb3a7377203efc5c46df32
Convert sizeof foo to sizeof(foo).

While technically sizeof is an operator and doesn't need the parentheses
around expressions it operates on, except if they are type names, code
formatters don't seem to handle this very well.
22 files changed:
src/bsd/device.c
src/conf.c
src/connection.c
src/graph.c
src/logger.c
src/multicast_device.c
src/net.c
src/net_packet.c
src/net_setup.c
src/net_socket.c
src/node.c
src/process.c
src/protocol.c
src/protocol_subnet.c
src/proxy.c
src/route.c
src/solaris/device.c
src/subnet.c
src/tincd.c
src/uml_device.c
src/utils.c
src/xalloc.h