]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Don't export internal symbols ("make smelly")
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 12 Oct 2013 20:41:17 +0000 (22:41 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 12 Oct 2013 20:41:17 +0000 (22:41 +0200)
Python/errors.c
Python/fileutils.c

index b67448090f91016bc12aa62f4fa70fbdb162e0b9..1832b5b60224c52be43e8af379d51dd0d911b470 100644 (file)
@@ -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;
index 074888eaf1b503bbb297bf7acd96bb2c6f6b2741..eecbb3b57ae0e42e82b7b9cb95418475ae9fe3df 100644 (file)
@@ -566,7 +566,7 @@ _Py_stat(PyObject *path, struct stat *statbuf)
 
 #endif
 
-int
+static int
 get_inheritable(int fd, int raise)
 {
 #ifdef MS_WINDOWS