develooper Front page | perl.perl5.porters | Postings from July 2003

patch to dl_dyld.xs

From:
Edward Moy
Date:
July 20, 2003 09:43
Subject:
patch to dl_dyld.xs
Message ID:
42E9217E-BAD1-11D7-B4C9-0030657B317C@apple.com
Here is a simple patch to dl_dyld.xs that fixes some symbol export  
problems:

--- ext/DynaLoader/dl_dyld.xs.old Tue Jun 17 23:16:59 2003
+++ ext/DynaLoader/dl_dyld.xs     Tue Jun 17 23:18:10 2003
@@ -54,7 +54,7 @@
       return dl_last_error;
   }

-int dlclose(handle) /* stub only */
+static int dlclose(handle) /* stub only */
   void *handle;
   {
       return 0;
@@ -122,7 +122,7 @@
       return handle;
   }

-void *
+static void *
   dlsym(handle, symbol)
   void *handle;
   char *symbol;
------------------------------------------------------------------------ 
--
Edward Moy
Apple




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About