corrected prototypes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-04-07 14:57:36 +00:00
parent 569a2ae9ef
commit c2cf7c0184

View File

@@ -68,7 +68,7 @@ void TranslateError(const char *path, enum dyldErrorSource type, int number)
} }
} }
void *dlopen(char *path, int mode /* mode is ignored */) void *dlopen(const char *path, int mode /* mode is ignored */)
{ {
int dyld_result; int dyld_result;
NSObjectFileImage ofile; NSObjectFileImage ofile;
@@ -89,7 +89,7 @@ void *dlopen(char *path, int mode /* mode is ignored */)
return handle; return handle;
} }
void *dlsym(void *handle, char *symbol) void *dlsym(void *handle, const char *symbol)
{ {
void *addr; void *addr;