From 409b53840b83bc275db3ac234c547ff4dd67af58 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 12 Oct 2013 22:41:17 +0200 Subject: [PATCH] Don't export internal symbols ("make smelly") --- Python/errors.c | 2 +- Python/fileutils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/errors.c b/Python/errors.c index b67448090f9..1832b5b6022 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 074888eaf1b..eecbb3b57ae 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