summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-12 22:41:17 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-12 22:41:17 +0200
commit409b53840b83bc275db3ac234c547ff4dd67af58 (patch)
treefdca749e505669e3736e9659d8a6dada4eaed9d9 /Python
parent3974d6abb200a42b11eb8c9a2522c9d11d611b23 (diff)
downloadcpython-git-409b53840b83bc275db3ac234c547ff4dd67af58.tar.gz
Don't export internal symbols ("make smelly")
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