summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:59:33 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 23:59:33 (GMT)
commita534594fc72cddd5c29ed8debbb3d2f16792db97 (patch)
tree666ab77fd65e2c8c1ff3613cdb57d754980bd588 /PC/getpathp.c
parentbd4bc4e9e947617def66780efbbea4eb08990e56 (diff)
downloadcpython-a534594fc72cddd5c29ed8debbb3d2f16792db97.zip
cpython-a534594fc72cddd5c29ed8debbb3d2f16792db97.tar.gz
cpython-a534594fc72cddd5c29ed8debbb3d2f16792db97.tar.bz2
ANSIfication: remove very-old-varargs code, fix function declarations so
they include prototypes.
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();