From: Nicholas Clark Date: Tue, 5 Apr 2005 14:50:30 +0000 (+0000) Subject: Down with more K&R prototypes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ec6e3854216d77cb1a18ccf45ccd53556415957;p=p5sagit%2Fp5-mst-13.2.git Down with more K&R prototypes p4raw-id: //depot/perl@24163 --- 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;