path.c: PaAppend() constify and add prototype
This commit is contained in:
parent
fca164715e
commit
6a6f85862e
|
|
@ -108,7 +108,7 @@ PaCheckCompressed(filename)
|
|||
* newstring is the new string to append to the path.
|
||||
*/
|
||||
void
|
||||
PaAppend(char **pathptr, char *newstring)
|
||||
PaAppend(char **pathptr, const char *newstring)
|
||||
{
|
||||
int oldlength, addlength;
|
||||
char *new;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ extern bool StrIsInt(const char *);
|
|||
extern bool StrIsNumeric(const char *);
|
||||
|
||||
/* C99 compat */
|
||||
extern void PaAppend(char **, char *);
|
||||
extern void PaAppend(char **pathptr, const char *newstring);
|
||||
extern void ReduceFraction(int *, int *);
|
||||
extern bool TechLoad(char *, SectionID);
|
||||
extern void UndoFlush();
|
||||
|
|
|
|||
Loading…
Reference in New Issue