summaryrefslogtreecommitdiffstats
path: root/Include/grammar.h
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-04-23 11:39:37 (GMT)
committerGitHub <noreply@github.com>2019-04-23 11:39:37 (GMT)
commit09415ff0ebbbe97c8cd08ac1f94673d7a49c8018 (patch)
treec49ee25cd8762638867af92177cb90bced0ec4b4 /Include/grammar.h
parent574913479f26b5ff48827861bce68281be01d16e (diff)
downloadcpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.zip
cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.tar.gz
cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.tar.bz2
fix warnings by adding more const (GH-12924)
Diffstat (limited to 'Include/grammar.h')
-rw-r--r--Include/grammar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/grammar.h b/Include/grammar.h
index faccae4..4b66b1e 100644
--- a/Include/grammar.h
+++ b/Include/grammar.h
@@ -66,7 +66,7 @@ typedef struct {
} grammar;
/* FUNCTIONS */
-dfa *PyGrammar_FindDFA(grammar *g, int type);
+const dfa *PyGrammar_FindDFA(grammar *g, int type);
const char *PyGrammar_LabelRepr(label *lb);
void PyGrammar_AddAccelerators(grammar *g);
void PyGrammar_RemoveAccelerators(grammar *);