summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-11 08:54:16 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-11 08:54:16 +0000
commit251cc6a6633b7581ea0831a6e963c2d37200aaee (patch)
tree1756d401cad0b8ea443f858f68224d04d93999c0 /proto.h
parentd207eff153a616ce3216ea5508d8c251ee3e5466 (diff)
downloadperl-251cc6a6633b7581ea0831a6e963c2d37200aaee.tar.gz
The "pointer" argument to S_restore_magic() is not not NULL, because
it's actually an integer index wedged into a pointer. (To fit within the existing save stack API.) p4raw-id: //depot/perl@33276
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index feadc304a3..e3222aef95 100644
--- a/proto.h
+++ b/proto.h
@@ -3086,9 +3086,7 @@ STATIC int S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3);
-STATIC void S_restore_magic(pTHX_ const void *p)
- __attribute__nonnull__(pTHX_1);
-
+STATIC void S_restore_magic(pTHX_ const void *p);
STATIC void S_unwind_handler_stack(pTHX_ const void *p)
__attribute__nonnull__(pTHX_1);