style: formatting changes

* src/files.c, src/files.h: Save horizontal space.
Prefer `res` for returned values.
Put the doc into the header.
This commit is contained in:
Akim Demaille
2021-02-26 07:02:55 +01:00
parent 306fc3ec00
commit 4511e43245
2 changed files with 12 additions and 10 deletions

View File

@@ -95,6 +95,9 @@ void xfclose (FILE *ptr);
FILE *xfdopen (int fd, char const *mode);
char *map_file_name (char const *filename);
/* Add a new file prefix mapping. If a file path starts with
oldprefix, it will be replaced with newprefix. */
void add_prefix_map (char const *oldprefix, char const *newprefix);
#endif /* !FILES_H_ */