path.c: PaEnum() constify and add prototype

This commit is contained in:
Darryl L. Miles 2024-10-12 08:43:34 +01:00 committed by Tim Edwards
parent 6bccbef0d4
commit 265ace5c9f
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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();