summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-10-14 17:21:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-10-14 17:21:27 +0000
commita50b256dde29028a056176a2bef99096f6c5b619 (patch)
tree2380b51100fa82d3f8bbfbe7d6b57447266adb6f /src/include
parent36fa9ff7abbc5a7ab8979073f401d84cba609322 (diff)
downloads6-dns-a50b256dde29028a056176a2bef99096f6c5b619.tar.xz
Port to the new librandom API.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-dns/s6dns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/s6-dns/s6dns.h b/src/include/s6-dns/s6dns.h
index dbc1138..448f14d 100644
--- a/src/include/s6-dns/s6dns.h
+++ b/src/include/s6-dns/s6dns.h
@@ -12,7 +12,7 @@
#include <s6-dns/s6dns-resolve.h>
#include <s6-dns/s6dns-fmt.h>
-#define s6dns_init() s6dns_rci_init(&s6dns_rci_here, "/etc/resolv.conf")
-#define s6dns_finish() (s6dns_engine_free(&s6dns_engine_here), s6dns_rci_free(&s6dns_rci_here))
+extern int s6dns_init (void) ;
+extern void s6dns_finish (void) ;
#endif