diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/skalibs/random.h | 1 | ||||
-rw-r--r-- | src/librandom/random_char.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/skalibs/random.h b/src/include/skalibs/random.h index 2d1bbcf..893b50f 100644 --- a/src/include/skalibs/random.h +++ b/src/include/skalibs/random.h @@ -11,6 +11,7 @@ extern void random_makeseed (char *) ; /* fills 160 bytes */ extern int random_init (void) ; extern void random_finish (void) ; +extern unsigned char random_char (void) ; extern void random_string (char *, unsigned int) ; extern uint32 random_uint32 (uint32) ; extern void random_name (char *, unsigned int) ; diff --git a/src/librandom/random_char.c b/src/librandom/random_char.c index 2c5a7da..f55443e 100644 --- a/src/librandom/random_char.c +++ b/src/librandom/random_char.c @@ -2,7 +2,7 @@ #include <skalibs/random.h> -unsigned char badrandom_char (void) +unsigned char random_char (void) { unsigned char c ; random_string((char *)&c, 1) ; |