From a97fb7de1c49a8414fac8dd85b621cd0459704e2 Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Wed, 18 Jun 2003 08:45:47 +0900 Subject: /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 --- ext/DynaLoader/dl_dyld.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/DynaLoader') diff --git a/ext/DynaLoader/dl_dyld.xs b/ext/DynaLoader/dl_dyld.xs index 45ae10fb5c..2ac2baaabc 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; -- cgit v1.2.1