make setup_build_files() argument const
This commit is contained in:
parent
b9d494600e
commit
29645c1632
@ -125,7 +125,7 @@ static bool samelist(FILE *oldrefs, char **names, int count) {
|
||||
}
|
||||
|
||||
/* create the file name(s) used for a new cross-referene */
|
||||
void setup_build_filenames(char *reffile) {
|
||||
void setup_build_filenames(const char * const reffile) {
|
||||
char path[strlen(reffile)+10]; /* file pathname */
|
||||
strcpy(path, reffile);
|
||||
|
||||
|
@ -64,7 +64,7 @@ void build(void);
|
||||
void free_newbuildfiles(void);
|
||||
void opendatabase(void);
|
||||
void rebuild(void);
|
||||
void setup_build_filenames(char *reffile);
|
||||
void setup_build_filenames(const char * const reffile);
|
||||
void seek_to_trailer(FILE *f);
|
||||
|
||||
#endif /* CSCOPE_BUILD_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user