Skip to content

Commit

Permalink
Mark js_realloc_opaque static
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jul 1, 2024
1 parent 860ca24 commit b4b4920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ void *js_realloc_rt(JSRuntime *rt, void *ptr, size_t size)
return rt->mf.js_realloc(&rt->malloc_state, ptr, size);
}

void *js_realloc_opaque(void *opaque, void *ptr, size_t size)
static void *js_realloc_opaque(void *opaque, void *ptr, size_t size)
{
JSRuntime *rt = opaque;
return js_realloc_rt(rt, ptr, size);
Expand Down

0 comments on commit b4b4920

Please sign in to comment.