aboutsummaryrefslogtreecommitdiff
path: root/src/core/random.c
diff options
context:
space:
mode:
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);
}