summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-12 06:14:54 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-12 06:14:54 +0000
commit0a9454b86e5e74b8a51e78e9c7a56e8fd96143e6 (patch)
tree901ffa00fdc4c95e2baac003390948d6f4ff8bdb /scope.h
parent92bd9285ec1fe2a706cada751e2149813a473c4a (diff)
downloadperl-0a9454b86e5e74b8a51e78e9c7a56e8fd96143e6.tar.gz
fixups for sundry warnings about function pointers
p4raw-id: //depot/perl@3669
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/scope.h b/scope.h
index 4a3a2ed69d..efaf589092 100644
--- a/scope.h
+++ b/scope.h
@@ -83,8 +83,7 @@
save_delete(SOFT_CAST(HV*)(h), SOFT_CAST(char*)(k), (I32)(l))
#define CALLDESTRUCTOR (*SSPOPDPTR)
#define SAVEDESTRUCTOR(f,p) \
- save_destructor((DESTRUCTORFUNC_t)(FUNC_NAME_TO_PTR(f)), \
- SOFT_CAST(void*)(p))
+ save_destructor((DESTRUCTORFUNC_t)(f), SOFT_CAST(void*)(p))
#define SAVESTACK_POS() \
STMT_START { \