diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-04-09 02:28:05 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2022-04-09 02:28:05 +0000 |
| commit | 4e75b40d8a96c5d51490ddea43566fe8e6d4168c (patch) | |
| tree | 06358f285c713a7f05297cb7d2826319d6561683 /src/librandom/random_finish.c | |
| parent | 1fedaae65b56b8548cdf2d8c26e2becece5fec07 (diff) | |
| download | skalibs-4e75b40d8a96c5d51490ddea43566fe8e6d4168c.tar.gz | |
Prepare for 2.12.0.0. librandom revamp.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/librandom/random_finish.c')
| -rw-r--r-- | src/librandom/random_finish.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/librandom/random_finish.c b/src/librandom/random_finish.c deleted file mode 100644 index bcc42da..0000000 --- a/src/librandom/random_finish.c +++ /dev/null @@ -1,45 +0,0 @@ -/* ISC license. */ - -#include <skalibs/sysdeps.h> - -#ifdef SKALIBS_HASARC4RANDOM - -#include <skalibs/random.h> - -void random_finish () -{ -} - -#else -#ifdef SKALIBS_HASGETRANDOM - -#include <skalibs/random.h> - -void random_finish () -{ -} - -#else -#ifdef SKALIBS_HASDEVURANDOM - -#include <skalibs/djbunix.h> -#include <skalibs/random.h> -#include "random-internal.h" - -void random_finish () -{ - fd_close(random_fd) ; - random_fd = -1 ; -} - -#else /* default */ - -#include <skalibs/random.h> - -void random_finish () -{ -} - -#endif -#endif -#endif |
