1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Fix build with gcc34

This commit is contained in:
Tilman Keskinoz 2004-06-12 21:50:35 +00:00
parent cf65af831e
commit 8507aff81c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111358

View File

@ -0,0 +1,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;