pkgsrc/editors/mg2a/patches/patch-an
2012-12-25 21:10:55 +00:00

24 lines
577 B
Text

$NetBSD: patch-an,v 1.3 2012/12/25 21:10:56 joerg Exp $
--- def.h.orig 1988-07-03 17:50:05.000000000 +0000
+++ def.h
@@ -288,7 +288,7 @@ extern WINDOW *popbuf();
extern WINDOW *wpopup();
extern LINE *lalloc();
extern LINE *lallocx();
-extern VOID ewprintf();
+extern VOID ewprintf(char *, ...);
extern int nrow;
extern int ncol;
extern int ttrow;
@@ -306,6 +306,7 @@ extern VOID lchange();
/*
* Standard I/O.
*/
-extern char *strcpy();
-extern char *strcat();
-extern char *malloc();
+void ttinsl(int, int, int);
+void ttdell(int, int, int);
+
+#include <string.h>