From 38dc844e85216539f1e3ebd6f91108adfc467999 Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Fri, 7 Aug 2020 14:02:26 +1200 Subject: [PATCH] Add missing JANET_API to janet_cryptorand. --- src/include/janet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/janet.h b/src/include/janet.h index b6de1287..ff6b26e0 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -1545,7 +1545,7 @@ JANET_API FILE *janet_dynfile(const char *name, FILE *def); JANET_API JanetAbstract janet_checkfile(Janet j); JANET_API FILE *janet_unwrapfile(Janet j, int32_t *flags); -int janet_cryptorand(uint8_t *out, size_t n); +JANET_API int janet_cryptorand(uint8_t *out, size_t n); /* Marshal API */ JANET_API void janet_marshal_size(JanetMarshalContext *ctx, size_t value);