mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
Issue #25923: Added more const qualifiers to signatures of static and private functions.
This commit is contained in:
parent
2d06e84455
commit
ef1585eb9a
60 changed files with 210 additions and 191 deletions
|
@ -27,7 +27,7 @@ int Py_VerboseFlag;
|
|||
int Py_IgnoreEnvironmentFlag;
|
||||
|
||||
/* Forward */
|
||||
grammar *getgrammar(char *filename);
|
||||
grammar *getgrammar(const char *filename);
|
||||
|
||||
void Py_Exit(int) _Py_NO_RETURN;
|
||||
|
||||
|
@ -76,7 +76,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
|
||||
grammar *
|
||||
getgrammar(char *filename)
|
||||
getgrammar(const char *filename)
|
||||
{
|
||||
FILE *fp;
|
||||
node *n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue