summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-22 23:17:47 +0100
committerNicholas Clark <nick@ccl4.org>2009-02-22 23:17:47 +0100
commit08d0d8ab11be611f4baf746cfb6ff7791962f494 (patch)
tree70a57bd0eb838277d56a86391bba3e8c3c84f87c /proto.h
parent7ffdaae673354e3b3ebbecaecdc009fee9fa90e7 (diff)
downloadperl-08d0d8ab11be611f4baf746cfb6ff7791962f494.tar.gz
For S_incpush(), dir is never NULL, and len is always > 0.
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 7945bdee67..f5cb2d2098 100644
--- a/proto.h
+++ b/proto.h
@@ -4759,7 +4759,11 @@ 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(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 \