From: Antoine Pitrou Date: Sat, 12 Oct 2013 20:41:17 +0000 (+0200) Subject: Don't export internal symbols ("make smelly") X-Git-Tag: v3.4.0a4~156^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=409b53840b83bc275db3ac234c547ff4dd67af58;p=thirdparty%2FPython%2Fcpython.git Don't export internal symbols ("make smelly") --- diff --git a/Python/errors.c b/Python/errors.c index b67448090f91..1832b5b60224 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 074888eaf1b5..eecbb3b57ae0 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