summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macgetpath.c')
-rw-r--r--Mac/Python/macgetpath.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Python/macgetpath.c b/Mac/Python/macgetpath.c
index b782736..38feb3e 100644
--- a/Mac/Python/macgetpath.c
+++ b/Mac/Python/macgetpath.c
@@ -43,9 +43,9 @@ getpythonpath()
char *curwd;
char *p, *endp;
int newlen;
- extern char *PyMac_GetPythonDir();
+ staticforward char *PyMac_GetPythonDir();
#ifndef USE_BUILTIN_PATH
- extern char *PyMac_GetPythonPath();
+ staticforward char *PyMac_GetPythonPath();
#endif
if ( pythonpath ) return pythonpath;
@@ -89,7 +89,7 @@ getpythonpath()
/*
** Open/create the Python Preferences file, return the handle
*/
-short
+static short
PyMac_OpenPrefFile()
{
AliasHandle handle;
@@ -142,7 +142,7 @@ PyMac_OpenPrefFile()
/*
** Return the name of the Python directory
*/
-char *
+static char *
PyMac_GetPythonDir()
{
static char name[256];
@@ -187,7 +187,7 @@ PyMac_GetPythonDir()
}
#ifndef USE_BUILTIN_PATH
-char *
+static char *
PyMac_GetPythonPath(dir)
char *dir;
{