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
commit0b94c7bb9a33fcbef93724c1b5f96b2616e1e13f (patch)
tree901ffa00fdc4c95e2baac003390948d6f4ff8bdb /scope.h
parenta88c3d7c5dc6133bb2dd9b0b213b17f73bdf982c (diff)
downloadperl-0b94c7bb9a33fcbef93724c1b5f96b2616e1e13f.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 { \