summaryrefslogtreecommitdiff
path: root/devel/fortran-utils/files/patch-fpr.c
blob: 57c142e7ac18bf86035647db26e78dfa44f71022 (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
30
31
32
33
34
35
36
37
38
--- fpr/fpr.c.orig	Fri May 27 14:31:21 1994
+++ fpr/fpr.c	Sat Jun 12 23:49:50 2004
@@ -45,6 +45,7 @@
 #endif /* not lint */
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #define BLANK ' '
 #define TAB '\t'
@@ -80,9 +81,6 @@
 int maxpos;
 int maxcol;
 
-extern char *malloc();
-extern char *calloc();
-extern char *realloc();
 
 
 
@@ -124,7 +122,7 @@
 
   while ( ! ateof)
     {
-      gettext();
+      mygettext();
       ch = getchar();
       if (ch == EOF)
 	{
@@ -210,7 +208,7 @@
 
 
 
-gettext()
+mygettext()
 {
   register int i;
   register char ateol;