From dbb41ce2b7f309d394054a6bd1e33afd578798a5 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Fri, 23 Oct 2020 15:18:01 +0200 Subject: Move the source code of all xloop components to the common 'src' directory --- utils/include/randutils.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 utils/include/randutils.h (limited to 'utils/include/randutils.h') diff --git a/utils/include/randutils.h b/utils/include/randutils.h deleted file mode 100644 index 86e35f3..0000000 --- a/utils/include/randutils.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef UTIL_LINUX_RANDUTILS -#define UTIL_LINUX_RANDUTILS - -#ifdef HAVE_SRANDOM -#define srand(x) srandom(x) -#define rand() random() -#endif - -/* rand() based */ -extern int rand_get_number(int low_n, int high_n); - -/* /dev/urandom based with fallback to rand() */ -extern int random_get_fd(void); -extern void random_get_bytes(void *buf, size_t nbytes); -extern const char *random_tell_source(void); - -#endif -- cgit v1.2.3-55-g7522