summaryrefslogtreecommitdiff
blob: 32caf5e434774d42c56f8e17e9d0031735ebebaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- tic98.orig/ppmd_enc.c	2009-07-05 14:15:53.000000000 +0200
+++ tic98/ppmd_enc.c	2009-07-05 14:18:47.000000000 +0200
@@ -63,7 +63,7 @@
 }
 
 int
-getline (FILE *fp, char *s, int max)
+tic98_getline (FILE *fp, char *s, int max)
 /* Read line from FP into S; return its length (maximum length = MAX). */
 {
     int i;
@@ -111,7 +111,7 @@
     ppm_start_encoding (max_order, max_symbol);
 
     /* Read in the integers */
-    while ((len = getline (fp, line, MAX_LINE)) != EOF)
+    while ((len = tic98_getline (fp, line, MAX_LINE)) != EOF)
     {
         count++;
 	if ((debugProgress) && ((count % debugProgress) == 0))