diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-07-09 16:30:21 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-07-09 16:30:21 +0200 |
commit | 2b58e029158ac1ada64120ddcea1cb05e864fd69 (patch) | |
tree | 8cf6d4cf36eeee298583b55930731894b1e8da8c /lib/random.c | |
parent | 55d952b96a44665e784774ae591c3fba4f431819 (diff) | |
download | gnutls-2b58e029158ac1ada64120ddcea1cb05e864fd69.tar.gz |
Minor randomness API cleanups.
Diffstat (limited to 'lib/random.c')
-rw-r--r-- | lib/random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/random.c b/lib/random.c index 71174fa5d5..9799869f3b 100644 --- a/lib/random.c +++ b/lib/random.c @@ -32,7 +32,7 @@ static void *rnd_ctx; int -_gnutls_rnd_init () +_gnutls_rnd_init (void) { if (_gnutls_rnd_ops.init != NULL) { @@ -47,7 +47,7 @@ _gnutls_rnd_init () } void -_gnutls_rnd_deinit () +_gnutls_rnd_deinit (void) { if (_gnutls_rnd_ops.deinit != NULL) { @@ -58,7 +58,7 @@ _gnutls_rnd_deinit () } int -_gnutls_rnd (int level, void *data, int len) +_gnutls_rnd (int level, void *data, size_t len) { if (len > 0) { |