summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
commitbd4bc4e9e947617def66780efbbea4eb08990e56 (patch)
tree7130e24f3bf2919bf47ff717ac674023816369c7 /Modules/getpath.c
parent3b6448fbae16564484a40efa7f418fba02755625 (diff)
downloadcpython-bd4bc4e9e947617def66780efbbea4eb08990e56.zip
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.gz
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.bz2
Even more ANSIfication: fix as many function pointers and declarations as
possible.
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 3c418d6..f96f7ed 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -349,7 +349,7 @@ search_for_exec_prefix(char *argv0_path, char *home)
static void
calculate_path(void)
{
- extern char *Py_GetProgramName();
+ extern char *Py_GetProgramName(void);
static char delimiter[2] = {DELIM, '\0'};
static char separator[2] = {SEP, '\0'};