summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/dl_hpux.xs
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2012-08-13 10:29:39 +0200
committerSteffen Mueller <smueller@cpan.org>2012-08-31 13:47:17 +0200
commit63d7ac5fa5ef436afa9865a56b7c84e54a112722 (patch)
tree087ffe64048e17fc5433254712039856b8bce396 /ext/DynaLoader/dl_hpux.xs
parent115e60bcab0a2cba27b137c61175493a347d0adc (diff)
downloadperl-63d7ac5fa5ef436afa9865a56b7c84e54a112722.tar.gz
Silence ParseXS warning about abusing the CODE section
See RT #114198. DynaLoader was warning about somewhat dubious use of RETVAL with a CODE section but without an OUTPUT section. This fixes that problem, but I have obviously not been able to test on all affected operating systems.
Diffstat (limited to 'ext/DynaLoader/dl_hpux.xs')
-rw-r--r--ext/DynaLoader/dl_hpux.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/DynaLoader/dl_hpux.xs b/ext/DynaLoader/dl_hpux.xs
index 583cfc270c..2cd6790a9b 100644
--- a/ext/DynaLoader/dl_hpux.xs
+++ b/ext/DynaLoader/dl_hpux.xs
@@ -51,7 +51,7 @@ BOOT:
(void)dl_private_init(aTHX);
-void *
+void
dl_load_file(filename, flags=0)
char * filename
int flags
@@ -115,7 +115,7 @@ dl_unload_file(libref)
RETVAL
-void *
+void
dl_find_symbol(libhandle, symbolname)
void * libhandle
char * symbolname
@@ -150,7 +150,7 @@ dl_find_symbol(libhandle, symbolname)
void
dl_undef_symbols()
- PPCODE:
+ CODE: