summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index e4ff136..8178ab2 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -336,7 +336,7 @@ done:
static void
get_progpath(void)
{
- extern char *Py_GetProgramName();
+ extern char *Py_GetProgramName(void);
char *path = getenv("PATH");
char *prog = Py_GetProgramName();