]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-netlink/netlink-message.c
change type for address family to "int"
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Jul 2014 14:09:30 +0000 (16:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Jul 2014 14:10:51 +0000 (16:10 +0200)
commit0dd25fb9f005d8ab7ac4bc10a609d00569f8c56a
tree2f253672d8a0a97c8c19ba1ce2cad26a5bef62a8
parentf41925b4e442a34c93ad120ef1426c974a047ed1
change type for address family to "int"

Let's settle on a single type for all address family values, even if
UNIX is very inconsitent on the precise type otherwise. Given that
socket() is the primary entrypoint for the sockets API, and that uses
"int", and "int" is relatively simple and generic, we settle on "int"
for this.
27 files changed:
src/libsystemd-network/network-internal.c
src/libsystemd-network/network-internal.h
src/libsystemd/sd-rtnl/local-addresses.h
src/libsystemd/sd-rtnl/rtnl-message.c
src/libsystemd/sd-rtnl/test-rtnl.c
src/machine/machine-dbus.c
src/machine/machinectl.c
src/network/networkd-address-pool.c
src/network/networkd-manager.c
src/network/networkd-netdev.h
src/network/networkd.h
src/nss-mymachines/nss-mymachines.c
src/nss-resolve/nss-resolve.c
src/resolve/resolved-bus.c
src/resolve/resolved-dns-packet.h
src/resolve/resolved-dns-query.h
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-scope.h
src/resolve/resolved-dns-server.c
src/resolve/resolved-dns-server.h
src/resolve/resolved-link.c
src/resolve/resolved-link.h
src/resolve/resolved-manager.c
src/resolve/resolved.h
src/shared/in-addr-util.c
src/shared/in-addr-util.h
src/systemd/sd-rtnl.h