diff options
author | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2019-01-15 09:12:28 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-01-15 08:12:28 +0100 |
commit | a1e92eee3e928e33942b35f308621af0d43e91c8 (patch) | |
tree | 7fa341b06dc2c64a1e318e661939c6f98dedbad4 /src/resolve/resolved-etc-hosts.c | |
parent | 1c8e48f50661504e6b74a0eeaa3336f54e1e4238 (diff) | |
download | systemd-a1e92eee3e928e33942b35f308621af0d43e91c8.tar.gz |
Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
Diffstat (limited to 'src/resolve/resolved-etc-hosts.c')
-rw-r--r-- | src/resolve/resolved-etc-hosts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-etc-hosts.c b/src/resolve/resolved-etc-hosts.c index 01cde4acf7..ee21222e50 100644 --- a/src/resolve/resolved-etc-hosts.c +++ b/src/resolve/resolved-etc-hosts.c @@ -12,12 +12,12 @@ /* Recheck /etc/hosts at most once every 2s */ #define ETC_HOSTS_RECHECK_USEC (2*USEC_PER_SEC) -static inline void etc_hosts_item_free(EtcHostsItem *item) { +static void etc_hosts_item_free(EtcHostsItem *item) { strv_free(item->names); free(item); } -static inline void etc_hosts_item_by_name_free(EtcHostsItemByName *item) { +static void etc_hosts_item_by_name_free(EtcHostsItemByName *item) { free(item->name); free(item->addresses); free(item); |