Convert sizeof foo to sizeof(foo).
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 7 Oct 2017 15:47:19 +0000 (17:47 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 7 Oct 2017 15:47:56 +0000 (17:47 +0200)
commit3a316823b971396a428f020f401b9fe41252d98d
tree5ee3d5fbe9c0deb21df4183efb9f1033a40fe9ca
parent5822f817aa802c2c5a83e9d99a8ae78cb822799b
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.
58 files changed:
src/autoconnect.c
src/bsd/device.c
src/bsd/tunemu.c
src/chacha-poly1305/chacha-poly1305.c
src/conf.c
src/connection.c
src/control.c
src/cygwin/device.c
src/ed25519/ecdh.c
src/ed25519/ecdsa.c
src/ed25519/ecdsagen.c
src/event.c
src/fsck.c
src/gcrypt/cipher.c
src/gcrypt/digest.c
src/gcrypt/prf.c
src/gcrypt/rsa.c
src/gcrypt/rsagen.c
src/graph.c
src/hash.c
src/ifconfig.c
src/info.c
src/invitation.c
src/logger.c
src/meta.c
src/mingw/device.c
src/multicast_device.c
src/names.c
src/net.c
src/net_packet.c
src/net_setup.c
src/net_socket.c
src/netutl.c
src/node.c
src/nolegacy/prf.c
src/openssl/cipher.c
src/openssl/digest.c
src/process.c
src/protocol.c
src/protocol_auth.c
src/protocol_key.c
src/protocol_subnet.c
src/raw_socket_device.c
src/route.c
src/script.c
src/solaris/device.c
src/sptps.c
src/sptps_speed.c
src/sptps_test.c
src/subnet.c
src/subnet_parse.c
src/tincctl.c
src/top.c
src/uml_device.c
src/upnp.c
src/utils.c
src/xalloc.h
test/pong.c