mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
path.c: PaEnum() constify and add prototype
This commit is contained in:
committed by
Tim Edwards
parent
6bccbef0d4
commit
265ace5c9f
+2
-2
@@ -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 */
|
||||||
|
|||||||
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user