From f2cf1e3e2892a6326949c2570f1bb6d6c95715fb Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sat, 13 Apr 2019 17:05:14 +0100 Subject: bpo-36623: Clean parser headers and include files (GH-12253) After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around. --- Python/graminit.c | 1 - Python/strdup.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'Python') diff --git a/Python/graminit.c b/Python/graminit.c index 441502e9087..cd900324170 100644 --- a/Python/graminit.c +++ b/Python/graminit.c @@ -1,6 +1,5 @@ /* Generated by Parser/pgen */ -#include "pgenheaders.h" #include "grammar.h" grammar _PyParser_Grammar; static arc arcs_0_0[3] = { diff --git a/Python/strdup.c b/Python/strdup.c index 99dc77417bd..6ce171b21fe 100644 --- a/Python/strdup.c +++ b/Python/strdup.c @@ -1,7 +1,5 @@ /* strdup() replacement (from stdwin, if you must know) */ -#include "pgenheaders.h" - char * strdup(const char *str) { -- cgit v1.2.3