summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-04-05 14:50:30 +0000
committerNicholas Clark <nick@ccl4.org>2005-04-05 14:50:30 +0000
commit2ec6e3854216d77cb1a18ccf45ccd53556415957 (patch)
tree9c662a3fbade180db198435b9fc036e2893e68aa /ext
parent07445afaa422fe673ed115231793ea101373a3ee (diff)
downloadperl-2ec6e3854216d77cb1a18ccf45ccd53556415957.tar.gz
Down with more K&R prototypes
p4raw-id: //depot/perl@24163
Diffstat (limited to 'ext')
-rw-r--r--ext/DynaLoader/dl_dyld.xs7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/DynaLoader/dl_dyld.xs b/ext/DynaLoader/dl_dyld.xs
index 0df4259098..d719951aa9 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;