summaryrefslogtreecommitdiff
path: root/include/typelib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/typelib.h')
-rw-r--r--include/typelib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/typelib.h b/include/typelib.h
index 75d170e59d3..e04ec20f2bc 100644
--- a/include/typelib.h
+++ b/include/typelib.h
@@ -26,7 +26,8 @@ typedef struct st_typelib { /* Different types saved here */
unsigned int *type_lengths;
} TYPELIB;
-extern int find_type(char *x,TYPELIB *typelib,unsigned int full_name);
+extern int find_type(char *x, const TYPELIB *typelib,
+ unsigned int full_name);
extern void make_type(char *to,unsigned int nr,TYPELIB *typelib);
extern const char *get_type(TYPELIB *typelib,unsigned int nr);
extern TYPELIB *copy_typelib(MEM_ROOT *root, TYPELIB *from);