Skip to content

Commit 409b538

Browse files
committed
Don't export internal symbols ("make smelly")
1 parent 3974d6a commit 409b538

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/errors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ PyErr_SyntaxLocationEx(const char *filename, int lineno, int col_offset)
10141014
XXX The functionality of this function is quite similar to the
10151015
functionality in tb_displayline() in traceback.c. */
10161016

1017-
PyObject *
1017+
static PyObject *
10181018
err_programtext(FILE *fp, int lineno)
10191019
{
10201020
int i;

Python/fileutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ _Py_stat(PyObject *path, struct stat *statbuf)
566566

567567
#endif
568568

569-
int
569+
static int
570570
get_inheritable(int fd, int raise)
571571
{
572572
#ifdef MS_WINDOWS

0 commit comments

Comments
 (0)