Change 34672 should have removed a const from re.xs. I thought I'd
authorNicholas Clark <nick@ccl4.org>
Fri, 31 Oct 2008 07:37:44 +0000 (07:37 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 31 Oct 2008 07:37:44 +0000 (07:37 +0000)
checked for warnings here - not sure whether it was me or gcc that
didn't notice anythign wrong. g++ certainly did.

p4raw-id: //depot/perl@34678

ext/re/re.xs

index 484de25..8bc305e 100644 (file)
@@ -11,7 +11,7 @@
 
 START_EXTERN_C
 
-extern REGEXP* my_re_compile (pTHX_ const SV * const pattern, const U32 pm_flags);
+extern REGEXP* my_re_compile (pTHX_ SV * const pattern, const U32 pm_flags);
 extern I32     my_regexec (pTHX_ REGEXP * const prog, char* stringarg, char* strend,
                            char* strbeg, I32 minend, SV* screamer,
                            void* data, U32 flags);