diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-09-28 19:56:53 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-09-28 19:56:53 +0000 |
commit | 639f6c3d60ee2ae4935616e7c47c2288c4dd637d (patch) | |
tree | 03d1444da539202aa47ef1b0460432cf47d33ee2 | |
parent | fb9bf1076335a39817672b0aa8a5f5bfc3f451bb (diff) | |
download | perl-639f6c3d60ee2ae4935616e7c47c2288c4dd637d.tar.gz |
savepv and savepvn are actually NULLOK
p4raw-id: //depot/perl@25640
-rw-r--r-- | embed.fnc | 4 | ||||
-rw-r--r-- | proto.h | 6 |
2 files changed, 4 insertions, 6 deletions
@@ -645,8 +645,8 @@ p |void |rxres_save |NN void** rsp|NN REGEXP* prx #if !defined(HAS_RENAME) p |I32 |same_dirent |NN const char* a|NN const char* b #endif -Apda |char* |savepv |NN const char* pv -Apda |char* |savepvn |NN const char* pv|I32 len +Apda |char* |savepv |NULLOK const char* pv +Apda |char* |savepvn |NULLOK const char* pv|I32 len Apda |char* |savesharedpv |NULLOK const char* pv Apda |char* |savesvpv |NN SV* sv Ap |void |savestack_grow @@ -1816,13 +1816,11 @@ PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b) #endif PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) __attribute__malloc__ - __attribute__warn_unused_result__ - __attribute__nonnull__(pTHX_1); + __attribute__warn_unused_result__; PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) __attribute__malloc__ - __attribute__warn_unused_result__ - __attribute__nonnull__(pTHX_1); + __attribute__warn_unused_result__; PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) __attribute__malloc__ |