summaryrefslogtreecommitdiff
path: root/src/librandom
diff options
context:
space:
mode:
Diffstat (limited to 'src/librandom')
-rw-r--r--src/librandom/random-internal.h10
-rw-r--r--src/librandom/random_buf.c2
-rw-r--r--src/librandom/random_buf_early.c2
3 files changed, 2 insertions, 12 deletions
diff --git a/src/librandom/random-internal.h b/src/librandom/random-internal.h
deleted file mode 100644
index 136c0d8..0000000
--- a/src/librandom/random-internal.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* ISC license. */
-
-#ifndef SKALIBS_RANDOM_INTERNAL_H
-#define SKALIBS_RANDOM_INTERNAL_H
-
-#include <stddef.h>
-
-extern void random_devurandom (char *, size_t) ;
-
-#endif
diff --git a/src/librandom/random_buf.c b/src/librandom/random_buf.c
index 99cce38..2c75e97 100644
--- a/src/librandom/random_buf.c
+++ b/src/librandom/random_buf.c
@@ -35,7 +35,7 @@ void random_buf (char *s, size_t n)
#elif defined(SKALIBS_HASDEVURANDOM)
-#include "random-internal.h"
+#include <skalibs/random.h>
void random_buf (char *s, size_t n)
{
diff --git a/src/librandom/random_buf_early.c b/src/librandom/random_buf_early.c
index a306239..a7a244d 100644
--- a/src/librandom/random_buf_early.c
+++ b/src/librandom/random_buf_early.c
@@ -34,7 +34,7 @@ void random_buf_early (char *s, size_t n)
#elif defined(SKALIBS_HASDEVURANDOM)
-#include "random-internal.h"
+#include <skalibs/random.h>
void random_buf_early (char *s, size_t n)
{