skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit e3f10a8543b88b61cd3b49caf0a7bb3aca8b9172
parent 3501ef1df11ec63fb4cddbbd4e756f374dd71ae4
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri, 14 Oct 2016 17:56:48 +0000

 More typo fixing

Diffstat:
Msrc/include/skalibs/random.h | 1+
Msrc/librandom/random_char.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 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 @@ -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) ;