From 8b84c156a79cc6cfd4b8c9e1189912d7fbea7653 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 7 Mar 2026 23:55:39 +0100 Subject: Made parameter const --- FICS/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS/utils.c') 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; -- cgit v1.2.3