summaryrefslogtreecommitdiffstats
path: root/byterun/fix_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/fix_code.h')
-rw-r--r--byterun/fix_code.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/byterun/fix_code.h b/byterun/fix_code.h
index 0caab959a..f6e9e3b77 100644
--- a/byterun/fix_code.h
+++ b/byterun/fix_code.h
@@ -23,20 +23,20 @@
#include "misc.h"
#include "mlvalues.h"
-extern code_t start_code;
-extern asize_t code_size;
-extern unsigned char * saved_code;
-extern unsigned char code_md5[16];
+extern code_t caml_start_code;
+extern asize_t caml_code_size;
+extern unsigned char * caml_saved_code;
+extern unsigned char caml_code_md5[16];
-void load_code (int fd, asize_t len);
-void fixup_endianness (code_t code, asize_t len);
-void set_instruction (code_t pos, opcode_t instr);
-int is_instruction (opcode_t instr1, opcode_t instr2);
+void caml_load_code (int fd, asize_t len);
+void caml_fixup_endianness (code_t code, asize_t len);
+void caml_set_instruction (code_t pos, opcode_t instr);
+int caml_is_instruction (opcode_t instr1, opcode_t instr2);
#ifdef THREADED_CODE
-extern char ** instr_table;
-extern char * instr_base;
-void thread_code (code_t code, asize_t len);
+extern char ** caml_instr_table;
+extern char * caml_instr_base;
+void caml_thread_code (code_t code, asize_t len);
#endif
#endif /* CAML_FIX_CODE_H */