From: Gilles Depeyrot Date: Sat, 7 Apr 2001 14:57:36 +0000 (+0000) Subject: corrected prototypes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c2cf7c01840af25938ce2c9fc98e88abcb8939e6 corrected prototypes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/dl_macosx.cpp b/src/unix/dl_macosx.cpp index 8e607cf912..60510e7344 100644 --- a/src/unix/dl_macosx.cpp +++ b/src/unix/dl_macosx.cpp @@ -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; NSObjectFileImage ofile; @@ -89,7 +89,7 @@ void *dlopen(char *path, int mode /* mode is ignored */) return handle; } -void *dlsym(void *handle, char *symbol) +void *dlsym(void *handle, const char *symbol) { void *addr;