summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-14 17:55:09 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-14 17:55:09 (GMT)
commitf68d8e52e7ce833d123de034a4f123ec710a639f (patch)
treefceec6ba2862506e6839a6b34579b635052360e9 /Objects/fileobject.c
parentf85af612f8c109f52333ee2d106b0848bf6ab372 (diff)
downloadcpython-f68d8e52e7ce833d123de034a4f123ec710a639f.zip
cpython-f68d8e52e7ce833d123de034a4f123ec710a639f.tar.gz
cpython-f68d8e52e7ce833d123de034a4f123ec710a639f.tar.bz2
Make some private symbols static.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 27e21de..9af03b7 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -222,7 +222,7 @@ typedef off_t Py_off_t;
/* a portable fseek() function
return 0 on success, non-zero on failure (with errno set) */
-int
+static int
_portable_fseek(FILE *fp, Py_off_t offset, int whence)
{
#if defined(HAVE_FSEEKO)
@@ -257,7 +257,7 @@ _portable_fseek(FILE *fp, Py_off_t offset, int whence)
/* a portable ftell() function
Return -1 on failure with errno set appropriately, current file
position on success */
-Py_off_t
+static Py_off_t
_portable_ftell(FILE* fp)
{
#if SIZEOF_FPOS_T >= 8 && defined(HAVE_LARGEFILE_SUPPORT)