path.c: PaEnum() constify and add prototype
This commit is contained in:
parent
6bccbef0d4
commit
265ace5c9f
|
|
@ -1095,8 +1095,8 @@ const char *newWD; /* New working directory to be used. Must
|
||||||
|
|
||||||
int
|
int
|
||||||
PaEnum(path, file, proc, cdata)
|
PaEnum(path, file, proc, cdata)
|
||||||
char *path; /* Search path */
|
const char *path; /* Search path */
|
||||||
char *file; /* Each element of the search path is prepended to
|
const char *file; /* Each element of the search path is prepended to
|
||||||
* this file name and passed to the client.
|
* this file name and passed to the client.
|
||||||
*/
|
*/
|
||||||
int (*proc)(); /* Client procedure */
|
int (*proc)(); /* Client procedure */
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ extern void niceabort();
|
||||||
extern void ShowRect();
|
extern void ShowRect();
|
||||||
extern void FindDisplay();
|
extern void FindDisplay();
|
||||||
extern void ForkChildAdd();
|
extern void ForkChildAdd();
|
||||||
extern int PaEnum();
|
extern int PaEnum(const char *path, const char *file, int (*proc)(), ClientData cdata);
|
||||||
extern int paVisitProcess();
|
extern int paVisitProcess();
|
||||||
extern void SetNoisyInt();
|
extern void SetNoisyInt();
|
||||||
extern void SetNoisyDI();
|
extern void SetNoisyDI();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue