summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-03 15:41:26 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-03 15:41:26 +0000
commit63da68370303e866ac043996a57db4b7e44b7270 (patch)
treec9a012b599e7c2232726a0c6999f30a72f2f4073 /pp_sys.c
parentaedff202e428171aca34f30e105f7d4462b85de2 (diff)
downloadperl-63da68370303e866ac043996a57db4b7e44b7270.tar.gz
Clean up some compiler warnings spotted by smokers.
p4raw-id: //depot/perl@33639
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp_sys.c b/pp_sys.c
index fc57695112..98a958dc81 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4939,7 +4939,7 @@ PP(pp_snetent)
{
#ifdef HAS_SETNETENT
dVAR; dSP;
- PerlSock_setnetent(TOPi);
+ (void)PerlSock_setnetent(TOPi);
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "setnetent");
@@ -4950,7 +4950,7 @@ PP(pp_sprotoent)
{
#ifdef HAS_SETPROTOENT
dVAR; dSP;
- PerlSock_setprotoent(TOPi);
+ (void)PerlSock_setprotoent(TOPi);
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "setprotoent");
@@ -4961,7 +4961,7 @@ PP(pp_sservent)
{
#ifdef HAS_SETSERVENT
dVAR; dSP;
- PerlSock_setservent(TOPi);
+ (void)PerlSock_setservent(TOPi);
RETSETYES;
#else
DIE(aTHX_ PL_no_sock_func, "setservent");