summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c2
-rw-r--r--Python/fileutils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c
index b67448090f..1832b5b602 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -1014,7 +1014,7 @@ PyErr_SyntaxLocationEx(const char *filename, int lineno, int col_offset)
XXX The functionality of this function is quite similar to the
functionality in tb_displayline() in traceback.c. */
-PyObject *
+static PyObject *
err_programtext(FILE *fp, int lineno)
{
int i;
diff --git a/Python/fileutils.c b/Python/fileutils.c
index 074888eaf1..eecbb3b57a 100644
--- a/Python/fileutils.c
+++ b/Python/fileutils.c
@@ -566,7 +566,7 @@ _Py_stat(PyObject *path, struct stat *statbuf)
#endif
-int
+static int
get_inheritable(int fd, int raise)
{
#ifdef MS_WINDOWS