summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cygwin/cygwin.c4
-rw-r--r--embed.fnc2
-rw-r--r--proto.h1
3 files changed, 3 insertions, 4 deletions
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c
index 21f3b3437e..03f48dd769 100644
--- a/cygwin/cygwin.c
+++ b/cygwin/cygwin.c
@@ -23,8 +23,8 @@ do_spawnvp (const char *path, const char * const *argv)
Sigsave_t ihand,qhand;
int childpid, result, status;
- rsignal_save(SIGINT, SIG_IGN, &ihand);
- rsignal_save(SIGQUIT, SIG_IGN, &qhand);
+ rsignal_save(SIGINT, (Sighandler_t) SIG_IGN, &ihand);
+ rsignal_save(SIGQUIT, (Sighandler_t) SIG_IGN, &qhand);
childpid = spawnvp(_P_NOWAIT,path,argv);
if (childpid < 0) {
status = -1;
diff --git a/embed.fnc b/embed.fnc
index 3fd0ec09f2..0903c8944d 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -884,7 +884,7 @@ p |int |yyparse
p |int |yywarn |NN const char* s
#if defined(MYMALLOC)
Ap |void |dump_mstats |NN char* s
-ApR |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
+Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
#endif
Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
diff --git a/proto.h b/proto.h
index b7d8918b34..cc4b7db5df 100644
--- a/proto.h
+++ b/proto.h
@@ -2398,7 +2398,6 @@ PERL_CALLCONV void Perl_dump_mstats(pTHX_ char* s)
__attribute__nonnull__(pTHX_1);
PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
- __attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);
#endif