aboutsummaryrefslogtreecommitdiff
path: root/src/core/random.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-02-18 19:24:15 -0800
committerGarrett D'Amore <garrett@damore.org>2017-02-18 19:25:14 -0800
commit2944f3a2634876e543003fabb05cba1b178df6aa (patch)
treea9a5aba5aec0ff1028e1a4d5815939887d406bb5 /src/core/random.c
parentf42f22abf488d30d4d68a8ab57063c48d618948d (diff)
downloadnng-2944f3a2634876e543003fabb05cba1b178df6aa.tar.gz
nng-2944f3a2634876e543003fabb05cba1b178df6aa.tar.bz2
nng-2944f3a2634876e543003fabb05cba1b178df6aa.zip
Taskq implementation.
Diffstat (limited to 'src/core/random.c')
-rw-r--r--src/core/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/random.c b/src/core/random.c
index b2ce0ef7..00c0bcf7 100644
--- a/src/core/random.c
+++ b/src/core/random.c
@@ -153,7 +153,7 @@ nni_isaac_randinit(nni_isaac_ctx *ctx, int flag)
static nni_isaac_ctx nni_random_ctx;
int
-nni_random_init(void)
+nni_random_sys_init(void)
{
// minimally, grab the system clock
nni_isaac_ctx *ctx = &nni_random_ctx;
@@ -189,7 +189,7 @@ nni_random(void)
void
-nni_random_fini(void)
+nni_random_sys_fini(void)
{
nni_mtx_fini(&nni_random_ctx.mx);
}