summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-17 01:15:12 (GMT)
committerGitHub <noreply@github.com>2019-05-17 01:15:12 (GMT)
commit870b035bc6da96689b59dd6f79782ec6f1873617 (patch)
tree27cb244d3d66b133808ca5c04ec14f82d64f078c /Include
parentaee19f54f6fe45f6b3c906987941e5a8af4468e9 (diff)
downloadcpython-870b035bc6da96689b59dd6f79782ec6f1873617.zip
cpython-870b035bc6da96689b59dd6f79782ec6f1873617.tar.gz
cpython-870b035bc6da96689b59dd6f79782ec6f1873617.tar.bz2
bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() (GH-13371)
precmdline is only needed in _PyCoreConfig_Read(), not in config_read_cmdline(). Reorganize _PyCoreConfig_Read().
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_getopt.h b/Include/internal/pycore_getopt.h
index 834b8c8..7f0dd13 100644
--- a/Include/internal/pycore_getopt.h
+++ b/Include/internal/pycore_getopt.h
@@ -17,6 +17,6 @@ typedef struct {
int val;
} _PyOS_LongOption;
-extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t **argv, int *longindex);
+extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t * const *argv, int *longindex);
#endif /* !Py_INTERNAL_PYGETOPT_H */