summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-02-03 10:57:33 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-09 10:13:54 -0700
commit3f80b5713f755394d2d1a3bc3befb0dd82a19f64 (patch)
tree68f926c927c01eec84d4d5da89f1d228a0b48d24 /proto.h
parent52ae8f7ebb1f32bbd4f574c090ff4ae9d6b468c7 (diff)
downloadperl-3f80b5713f755394d2d1a3bc3befb0dd82a19f64.tar.gz
regcomp.c: _invlist_subtract() becomes a macro
This function is no longer necessary, as it is just a call to the newly created _invlist_intersection_maybe_complement_2nd() with the correct parameters.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/proto.h b/proto.h
index 9e114c2f2f..c79be42aed 100644
--- a/proto.h
+++ b/proto.h
@@ -6577,12 +6577,10 @@ PERL_CALLCONV void Perl__invlist_populate_swatch(pTHX_ SV* const invlist, const
#define PERL_ARGS_ASSERT__INVLIST_POPULATE_SWATCH \
assert(invlist); assert(swatch)
-PERL_CALLCONV void Perl__invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result)
+/* PERL_CALLCONV void _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
- __attribute__nonnull__(pTHX_3);
-#define PERL_ARGS_ASSERT__INVLIST_SUBTRACT \
- assert(a); assert(b); assert(result)
+ __attribute__nonnull__(pTHX_3); */
PERL_CALLCONV void Perl__invlist_union(pTHX_ SV* const a, SV* const b, SV** output)
__attribute__nonnull__(pTHX_2)