path.c: nextName() constify and add prototype
This commit is contained in:
parent
feef9730f3
commit
bfb411d19f
|
|
@ -358,10 +358,10 @@ noexpand:
|
|||
|
||||
char *
|
||||
nextName(ppath, file, dest, size)
|
||||
char **ppath; /* Pointer to a pointer to the next
|
||||
const char **ppath; /* Pointer to a pointer to the next
|
||||
* entry in the path.
|
||||
*/
|
||||
char *file; /* Pointer to a file name. */
|
||||
const char *file; /* Pointer to a file name. */
|
||||
char *dest; /* Place to build result name. */
|
||||
int size; /* Size of result area. */
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ extern int LookupFull(const char *, const char * const *);
|
|||
extern int LookupStruct(const char *str, const LookupTable *table_start, int size);
|
||||
extern int LookupStructFull(const char *str, const char * const *table, int size);
|
||||
extern int PaExpand(const char **, char **, int);
|
||||
extern char *nextName();
|
||||
extern char *nextName(const char **ppath, const char *file, char *dest, int size);
|
||||
extern FILE *PaOpen(char *, char *, char *, char *, char *, char **);
|
||||
extern FILE *PaLockOpen(char *, char *, char *, char *, char *, char **, bool *, int *);
|
||||
extern char *StrDup(char **, const char *);
|
||||
|
|
|
|||
Loading…
Reference in New Issue