freebsd-ports/chinese/cxterm/files/patch-utils_tit2cit.c
Martin Wilke d33a167189 - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		118100
Submitted by:	Sunry Chen <sunrychen@gmail.com>
Approved by:	portmgr (pav)
2007-11-22 14:56:44 +00:00

12 lines
386 B
C

--- utils/tit2cit.c.orig 1995-02-14 06:53:17.000000000 +0100
+++ utils/tit2cit.c 2007-11-22 14:41:59.000000000 +0100
@@ -53,8 +53,7 @@
#include <X11/Xos.h> /* OS dependent stuff */
#include <ctype.h>
#include <stdio.h>
-
-extern char *malloc(), *calloc(), *realloc();
+#include <stdlib.h>
extern int HZencode(); /* from HZutil.o */
extern int HZgetprompt(); /* from HZutil.o */