aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtcc.h b/libtcc.h
index ada20c2..b661fda 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -80,7 +80,7 @@ LIBTCCAPI int tcc_add_library_path(TCCState *s, const char *pathname);
LIBTCCAPI int tcc_add_library(TCCState *s, const char *libraryname);
/* add a symbol to the compiled program */
-LIBTCCAPI int tcc_add_symbol(TCCState *s, const char *name, void *val);
+LIBTCCAPI int tcc_add_symbol(TCCState *s, const char *name, const void *val);
/* output an executable, library or object file. DO NOT call
tcc_relocate() before. */