From: Peter O'Gorman Date: Tue, 17 Jun 2003 23:45:47 +0000 (+0900) Subject: /ext/DynaLoader/dl_dyld.xs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a97fb7de1c49a8414fac8dd85b621cd0459704e2;p=p5sagit%2Fp5-mst-13.2.git /ext/DynaLoader/dl_dyld.xs From: "Peter O'Gorman" Message-Id: <619B6B53-A0D2-11D7-BAF7-003065F6C222@pogma.com> No need to see dlclose() and dlsym() outside the dl_dyld.xs (Mac OS X, NeXT), and seeing them is harmful for libdlcompat of OpenDarwin. p4raw-id: //depot/perl@19805 --- diff --git a/ext/DynaLoader/dl_dyld.xs b/ext/DynaLoader/dl_dyld.xs index 45ae10f..2ac2baa 100644 --- a/ext/DynaLoader/dl_dyld.xs +++ b/ext/DynaLoader/dl_dyld.xs @@ -54,7 +54,7 @@ static char *dlerror() return dl_last_error; } -int dlclose(handle) /* stub only */ +static int dlclose(handle) /* stub only */ void *handle; { return 0; @@ -122,7 +122,7 @@ static char *dlopen(char *path, int mode /* mode is ignored */) return handle; } -void * +static void * dlsym(handle, symbol) void *handle; char *symbol;