diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-06-09 16:40:52 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-06-09 16:40:52 +0000 |
commit | b1366aafc0ae88aa629334eee83ef65c43f75718 (patch) | |
tree | b0cf919d5264db2656188fa42c01899696a936b4 | |
parent | a0f2c8eceae71789431c376e9ac4024e0f45df77 (diff) | |
download | perl-b1366aafc0ae88aa629334eee83ef65c43f75718.tar.gz |
Mark the 1st argument to S_exec_failed as non null
p4raw-id: //depot/perl@28377
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | proto.h | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -207,7 +207,7 @@ p |bool |do_exec3 |NN const char* cmd|int fd|int do_report #endif p |void |do_execfree #ifdef PERL_IN_DOIO_C -s |void |exec_failed |const char *cmd|int fd|int do_report +s |void |exec_failed |NN const char *cmd|int fd|int do_report #endif #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp @@ -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) |