1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/devel/fortran-utils/files/patch-fpr.c
2004-06-12 21:50:35 +00:00

39 lines
565 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- 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;