summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-09-21 15:53:40 +0200
committerTom Gundersen <teg@jklm.no>2015-10-11 14:21:41 +0200
commitf0213e3796b4dd66e546e2de4d677db319f9171b (patch)
treea7c41b70eb2b3e31e760c64afae75702fe1eb00d /src/network/networkd-address.h
parente930d14ac87cbd9280719a30c9ae549821f3adaa (diff)
networkd: route/address - simplify and unify creators
Rename new_dynamic() to simply _new() and reuse that from new_static().
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r--src/network/networkd-address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h
index 39789a2382..74c0c0be89 100644
--- a/src/network/networkd-address.h
+++ b/src/network/networkd-address.h
@@ -56,7 +56,7 @@ struct Address {
};
int address_new_static(Network *network, unsigned section, Address **ret);
-int address_new_dynamic(Address **ret);
+int address_new(Address **ret);
void address_free(Address *address);
int address_configure(Address *address, Link *link, sd_netlink_message_handler_t callback);
int address_update(Address *address, Link *link, sd_netlink_message_handler_t callback);