From 2ec6e3854216d77cb1a18ccf45ccd53556415957 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 5 Apr 2005 14:50:30 +0000 Subject: [PATCH] Down with more K&R prototypes p4raw-id: //depot/perl@24163 --- ext/DynaLoader/dl_dyld.xs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ext/DynaLoader/dl_dyld.xs b/ext/DynaLoader/dl_dyld.xs index 0df4259..d719951 100644 --- a/ext/DynaLoader/dl_dyld.xs +++ b/ext/DynaLoader/dl_dyld.xs @@ -54,8 +54,7 @@ static char *dlerror() return dl_last_error; } -static int dlclose(handle) /* stub only */ -void *handle; +static int dlclose(void *handle) /* stub only */ { return 0; } @@ -123,9 +122,7 @@ static char *dlopen(char *path, int mode /* mode is ignored */) } static void * -dlsym(handle, symbol) -void *handle; -char *symbol; +dlsym(void *handle, char *symbol) { void *addr; -- 2.7.4