From bdd84317095e7583c38e43ed5df60dd15d2e32e1 Mon Sep 17 00:00:00 2001 From: Aaron Crane Date: Sun, 15 Oct 2017 12:01:08 +0200 Subject: 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. --- pp.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pp.c') 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; -- cgit v1.2.1