summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-29 09:35:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-29 09:35:59 +0000
commit2d51fa4dacb274a2a65ecfe4c7a2465ed828ee98 (patch)
treec732f19f6144f2017120aa240d433da39974a528 /doio.c
parent3e15aad56068d2dfe80836fe1f37f2b0000476ee (diff)
downloadperl-2d51fa4dacb274a2a65ecfe4c7a2465ed828ee98.tar.gz
Silence unused argument warnings when HAS_MSG isn't defined
p4raw-id: //depot/perl@32547
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/doio.c b/doio.c
index fbd1910015..5ccf73bd68 100644
--- a/doio.c
+++ b/doio.c
@@ -2131,6 +2131,8 @@ Perl_do_msgsnd(pTHX_ SV **mark, SV **sp)
SETERRNO(0,0);
return msgsnd(id, (struct msgbuf *)mbuf, msize, flags);
#else
+ PERL_UNUSED_ARG(sp);
+ PERL_UNUSED_ARG(mark);
Perl_croak(aTHX_ "msgsnd not implemented");
#endif
}
@@ -2168,6 +2170,8 @@ Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
}
return ret;
#else
+ PERL_UNUSED_ARG(sp);
+ PERL_UNUSED_ARG(mark);
Perl_croak(aTHX_ "msgrcv not implemented");
#endif
}