summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-15 21:53:50 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-15 21:53:50 +0000
commit4705144da61264103889bac66eba6d2d56a1da9d (patch)
tree93c66052922cc80fb9bf3e5576e562dda0537a99 /proto.h
parentb9ba2fadb18b54e35e5de54f945111a56cbcb249 (diff)
downloadperl-4705144da61264103889bac66eba6d2d56a1da9d.tar.gz
Ensure that the pointer to S_incpush_use_sep() is never NULL.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index a2139dbaa7..0fb1c33dba 100644
--- a/proto.h
+++ b/proto.h
@@ -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);