diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-14 17:56:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-14 17:56:48 +0000 |
commit | e3f10a8543b88b61cd3b49caf0a7bb3aca8b9172 (patch) | |
tree | fef56f87659bb05a4e9f4508401407de03e08492 | |
parent | 3501ef1df11ec63fb4cddbbd4e756f374dd71ae4 (diff) | |
download | skalibs-e3f10a8543b88b61cd3b49caf0a7bb3aca8b9172.tar.xz |
More typo fixing
-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) ; |