aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c2
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;