X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=proto.h;h=f5cb2d209821dc9277c0e9524d21f14c44f821dd;hb=3dae3b3445810204b098aa3420cb5d43bf991d8b;hp=03904d1c3a5b006ac3f13674cd80d778cff94bca;hpb=55b4bc1cac18bd560bcd9386594a419294fafc1d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/proto.h b/proto.h index 03904d1..f5cb2d2 100644 --- a/proto.h +++ b/proto.h @@ -4759,8 +4759,16 @@ STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp) assert(linestr_sv); assert(rsfp) STATIC void S_forbid_setid(pTHX_ const char flag, const bool suidscript); -STATIC void S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags); -STATIC void S_incpush_use_sep(pTHX_ const char *p, U32 flags); +STATIC void S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags) + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_INCPUSH \ + assert(dir) + +STATIC void S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags) + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \ + assert(p) + STATIC void S_init_interp(pTHX); STATIC void S_init_ids(pTHX); STATIC void S_init_main_stash(pTHX); @@ -4799,11 +4807,12 @@ STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); STATIC void S_run_body(pTHX_ I32 oldscope) __attribute__noreturn__; -STATIC SV * S_incpush_if_exists(pTHX_ AV *const av, SV *dir) +STATIC SV * S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem) __attribute__nonnull__(pTHX_1) - __attribute__nonnull__(pTHX_2); + __attribute__nonnull__(pTHX_2) + __attribute__nonnull__(pTHX_3); #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \ - assert(av); assert(dir) + assert(av); assert(dir); assert(stem) #endif