summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-09 16:40:52 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-09 16:40:52 +0000
commitb1366aafc0ae88aa629334eee83ef65c43f75718 (patch)
treeb0cf919d5264db2656188fa42c01899696a936b4 /proto.h
parenta0f2c8eceae71789431c376e9ac4024e0f45df77 (diff)
downloadperl-b1366aafc0ae88aa629334eee83ef65c43f75718.tar.gz
Mark the 1st argument to S_exec_failed as non null
p4raw-id: //depot/perl@28377
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index aad0de618d..846099060a 100644
--- a/proto.h
+++ b/proto.h
@@ -442,7 +442,9 @@ PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char* cmd, int fd, int do_report)
#endif
PERL_CALLCONV void Perl_do_execfree(pTHX);
#ifdef PERL_IN_DOIO_C
-STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
+STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
+ __attribute__nonnull__(pTHX_1);
+
#endif
#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)