diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-15 21:53:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-15 21:53:50 +0000 |
commit | 4705144da61264103889bac66eba6d2d56a1da9d (patch) | |
tree | 93c66052922cc80fb9bf3e5576e562dda0537a99 /proto.h | |
parent | b9ba2fadb18b54e35e5de54f945111a56cbcb249 (diff) | |
download | perl-4705144da61264103889bac66eba6d2d56a1da9d.tar.gz |
Ensure that the pointer to S_incpush_use_sep() is never NULL.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4760,7 +4760,11 @@ STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *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_use_sep(pTHX_ const char *p, 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); |