summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_init.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-04-09 15:48:31 +0000
committerLaurent Bercot <ska@appnovation.com>2022-04-09 15:48:31 +0000
commitedb658eb85f0546ee72655f1b5cbacda7853db41 (patch)
tree671d1aa550cd1dac5433ba4b275b3fe1868fb2f3 /src/libs6dns/s6dns_init.c
parent199a1f4b807b7dd3e12b0dd6c1c0a86e6ed2b4b3 (diff)
downloads6-dns-edb658eb85f0546ee72655f1b5cbacda7853db41.tar.xz
Prepare for 2.3.5.4; adapt to skalibs-2.12.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6dns/s6dns_init.c')
-rw-r--r--src/libs6dns/s6dns_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs6dns/s6dns_init.c b/src/libs6dns/s6dns_init.c
index f3cab32..7f98d13 100644
--- a/src/libs6dns/s6dns_init.c
+++ b/src/libs6dns/s6dns_init.c
@@ -1,12 +1,10 @@
/* ISC license. */
-#include <skalibs/random.h>
#include <s6-dns/s6dns-rci.h>
#include <s6-dns/s6dns.h>
int s6dns_init (void)
{
- if (!random_init()) return 0 ;
if (!s6dns_rci_init(&s6dns_rci_here, "/etc/resolv.conf")) return 0 ;
return 1 ;
}