summaryrefslogtreecommitdiff
path: root/devel/fortran-utils/files/patch-fsplit_fsplit.c
blob: 3d83d2ec8671b9631aa047f09cc29b97549d04fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- fsplit/fsplit.c.orig	2000-01-30 21:03:32 UTC
+++ fsplit/fsplit.c
@@ -97,7 +97,7 @@ struct stat sbuf;
 
 #define trim(p)	while (*p == ' ' || *p == '\t') p++
 
-int   getline __P((void));
+int   get_line __P((void));
 void  get_name __P((char *, int));
 char *functs __P((char *));
 int   lend __P((void));
@@ -171,7 +171,7 @@ char **argv;
 		errx(1, "can not open %s", x);
 	nflag = 0;
 	rv = 0;
-	while (getline() > 0) {
+	while (get_line() > 0) {
 		rv = 1;
 		fprintf(ofp, "%s", buf);
 		if (lend())		/* look for an 'end' statement */
@@ -263,7 +263,7 @@ int letters;
 }
 
 int
-getline()
+get_line()
 {
 	register char *ptr;