Break libblkid into 4 libraries: libblkid, libuuid, libutil-linux and libfdisk. This should help in later patch updates. Change-Id: I680d9a7feb031e5c29a603e9c58aff4b65826262
14 lines
281 B
C
14 lines
281 B
C
#ifndef UTIL_LINUX_RANDUTILS
|
|
#define UTIL_LINUX_RANDUTILS
|
|
|
|
#ifdef HAVE_SRANDOM
|
|
#define srand(x) srandom(x)
|
|
#define rand() random()
|
|
#endif
|
|
|
|
extern int random_get_fd(void);
|
|
extern void random_get_bytes(void *buf, size_t nbytes);
|
|
extern const char *random_tell_source(void);
|
|
|
|
#endif
|