chore: reduce debt with const values

This commit is contained in:
2025-11-10 16:29:11 +01:00
parent 1c737f4ac6
commit 5532cbf53e
20 changed files with 123 additions and 104 deletions
+5 -5
View File
@@ -3,16 +3,16 @@
#ifndef FILE_H
#define FILE_H
void file_read(File *file, char *path);
void file_read(File *file, const char *path);
bool file_should_update(File *file);
bool file_should_update(const File *file);
bool file_update(File *file);
void file_write(char *path, StringArray *lines);
void file_write(const char *path, const StringArray *lines);
void file_dump(char *path, char *content);
void file_dump(const char *path, const char *content);
void file_free(File *file);
void file_free(const File *file);
#endif /* FILE_H */