diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-07 23:55:39 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-07 23:55:39 +0100 |
| commit | 8b84c156a79cc6cfd4b8c9e1189912d7fbea7653 (patch) | |
| tree | 16229ea8cc228be77a5a00a936087dd940c5d570 /FICS/utils.c | |
| parent | 0920be59b0c745710cea460b19155b5d1f924982 (diff) | |
Made parameter const
Diffstat (limited to 'FICS/utils.c')
| -rw-r--r-- | FICS/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 3f257b6..76cad6c 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -941,7 +941,7 @@ tenth_str(unsigned int t, int spaces) * this won't work! */ PUBLIC int -truncate_file(char *file, int lines) +truncate_file(const char *file, int lines) { #define MAX_TRUNC_SIZE 100 FILE *fp; |
