summaryrefslogtreecommitdiff
path: root/perl.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 /perl.h
parenta88c3d7c5dc6133bb2dd9b0b213b17f73bdf982c (diff)
downloadperl-0b94c7bb9a33fcbef93724c1b5f96b2616e1e13f.tar.gz
fixups for sundry warnings about function pointers
p4raw-id: //depot/perl@3669
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index 07dada4704..b8f9ae6934 100644
--- a/perl.h
+++ b/perl.h
@@ -1494,10 +1494,6 @@ typedef union any ANY;
# endif
#endif
-#ifndef FUNC_NAME_TO_PTR
-#define FUNC_NAME_TO_PTR(name) name
-#endif
-
/*
* USE_THREADS needs to be after unixish.h as <pthread.h> includes
* <sys/signal.h> which defines NSIG - which will stop inclusion of <signal.h>
@@ -1593,6 +1589,10 @@ typedef pthread_key_t perl_key;
# define STATUS_ALL_FAILURE (PL_statusvalue = 1)
#endif
+#ifndef MEMBER_TO_FPTR
+#define MEMBER_TO_FPTR(name) name
+#endif
+
/* This defines a way to flush all output buffers. This may be a
* performance issue, so we allow people to disable it.
* XXX the default needs a Configure test, as it may not work everywhere.