summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-15 12:01:08 +0200
committerAaron Crane <arc@cpan.org>2017-10-15 12:01:08 +0200
commitbdd84317095e7583c38e43ed5df60dd15d2e32e1 (patch)
treebccc4e40ba559bdd9bf2d88523b7edef96643d37
parentb9d0a43747db03517f1acf3b092bb5276058747c (diff)
downloadperl-bdd84317095e7583c38e43ed5df60dd15d2e32e1.tar.gz
pp.c: delete dead cpp-conditional declaration
This was added in commit dfe9444ca7881e716e9e8feaf20b55da491363ca (February 1998, for Perl 5.004_60) by Andy Dougherty, and its comment says that, even then, he thought it was unneeded. But the perl5 repo has ever defined the NEED_GETPID_PROTO cpp symbol that guards this declaration, so this ability has clearly never been used.
-rw-r--r--pp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pp.c b/pp.c
index b55e81b705..4704b124d0 100644
--- a/pp.c
+++ b/pp.c
@@ -31,14 +31,6 @@
#include "reentr.h"
#include "regcharclass.h"
-/* XXX I can't imagine anyone who doesn't have this actually _needs_
- it, since pid_t is an integral type.
- --AD 2/20/1998
-*/
-#ifdef NEED_GETPID_PROTO
-extern Pid_t getpid (void);
-#endif
-
static const STRLEN small_mu_len = sizeof(GREEK_SMALL_LETTER_MU_UTF8) - 1;
static const STRLEN capital_iota_len = sizeof(GREEK_CAPITAL_LETTER_IOTA_UTF8) - 1;