Skip to content

Commit

Permalink
Declare the arrays of primitives with the same const-ness as their …
Browse files Browse the repository at this point in the history
…definitions
  • Loading branch information
xavierleroy committed Oct 24, 2023
1 parent 6d934fe commit 92e16dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/caml/prims.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

typedef value (*c_primitive)(void);

extern c_primitive caml_builtin_cprim[];
extern char * caml_names_of_builtin_cprim[];
extern const c_primitive caml_builtin_cprim[];
extern const char * const caml_names_of_builtin_cprim[];

extern struct ext_table caml_prim_table;
#ifdef DEBUG
Expand Down

0 comments on commit 92e16dd

Please sign in to comment.