]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected prototypes
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 7 Apr 2001 14:57:36 +0000 (14:57 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 7 Apr 2001 14:57:36 +0000 (14:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/dl_macosx.cpp

index 8e607cf91207b99ef87e1b34f9197a6ac853315f..60510e7344904727b988730283b0d6f2eba6d318 100644 (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;
   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;