summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-11 16:10:22 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-11 16:10:22 +0000
commit3f26ef392b1db5eeb17a57a0b399d75e6534efcb (patch)
treeb081a7c9cc7d8e9fcdaaa94ead03dbd0d3e70a19 /perl.h
parent100ce7e1cb4288a58223cf8260b009d2f598d81b (diff)
downloadperl-3f26ef392b1db5eeb17a57a0b399d75e6534efcb.tar.gz
Remove SOFT_CAST() as it no longer does anything useful.
p4raw-id: //depot/perl@27161
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/perl.h b/perl.h
index de55634b25..dccbf014f1 100644
--- a/perl.h
+++ b/perl.h
@@ -362,16 +362,6 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER));
#define WITH_THX(s) STMT_START { dTHX; s; } STMT_END
#define WITH_THR(s) WITH_THX(s)
-/*
- * SOFT_CAST can be used for args to prototyped functions to retain some
- * type checking; it only casts if the compiler does not know prototypes.
- */
-#if defined(CAN_PROTOTYPE) && defined(DEBUGGING_COMPILE)
-#define SOFT_CAST(type)
-#else
-#define SOFT_CAST(type) (type)
-#endif
-
#ifndef BYTEORDER /* Should never happen -- byteorder is in config.h */
# define BYTEORDER 0x1234
#endif