diff --git a/utils/path.c b/utils/path.c index 35df93ae..e42f96d0 100644 --- a/utils/path.c +++ b/utils/path.c @@ -1095,8 +1095,8 @@ const char *newWD; /* New working directory to be used. Must int PaEnum(path, file, proc, cdata) - char *path; /* Search path */ - char *file; /* Each element of the search path is prepended to + const char *path; /* Search path */ + const char *file; /* Each element of the search path is prepended to * this file name and passed to the client. */ int (*proc)(); /* Client procedure */ diff --git a/utils/utils.h b/utils/utils.h index 68fa63f2..90b7b176 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -70,7 +70,7 @@ extern void niceabort(); extern void ShowRect(); extern void FindDisplay(); extern void ForkChildAdd(); -extern int PaEnum(); +extern int PaEnum(const char *path, const char *file, int (*proc)(), ClientData cdata); extern int paVisitProcess(); extern void SetNoisyInt(); extern void SetNoisyDI();