summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorDaniel Buch <boogiewasthere@gmail.com>2014-01-18 14:30:28 +0100
committerTom Gundersen <teg@jklm.no>2014-01-18 17:52:10 +0100
commit127b55d5a49e8e534e12107fc5d5a684c390d7aa (patch)
treeb14150963202e4370a0f72949f45c2e88397e537 /src/libsystemd
parent885d1c80d991b7f9f8074c8d06f64dab1e53b7ad (diff)
sd-resolve: rename get_next() and get_n_queries() + cleanup
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-resolve.c b/src/libsystemd/sd-resolve.c
index 7cc8dc4f0a..b6bf8d4797 100644
--- a/src/libsystemd/sd-resolve.c
+++ b/src/libsystemd/sd-resolve.c
@@ -1043,12 +1043,12 @@ int sd_resolve_res_done(sd_resolve *resolve, sd_resolve_query* q, unsigned char
return ret < 0 ? -errno : ret;
}
-sd_resolve_query* sd_resolve_getnext(sd_resolve *resolve) {
+sd_resolve_query* sd_resolve_get_next(sd_resolve *resolve) {
assert(resolve);
return resolve->done_head;
}
-int sd_resolve_getnqueries(sd_resolve *resolve) {
+int sd_resolve_get_n_queries(sd_resolve *resolve) {
assert(resolve);
return resolve->n_queries;
}