summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-04-13 16:05:14 (GMT)
committerGitHub <noreply@github.com>2019-04-13 16:05:14 (GMT)
commitf2cf1e3e2892a6326949c2570f1bb6d6c95715fb (patch)
treebc8ec61893d284fe2e805191b2ba3c4a59a43879 /Python
parentf8716c88f13f035c126fc1db499ae0ea309c7ece (diff)
downloadcpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.zip
cpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.gz
cpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.bz2
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.
Diffstat (limited to 'Python')
-rw-r--r--Python/graminit.c1
-rw-r--r--Python/strdup.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index 441502e..cd90032 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 99dc774..6ce171b 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)
{