--- ../orig/display.c 2007-06-11 23:53:25.000000000 +0200 +++ ./display.c 2007-06-11 23:33:48.153146590 +0200 @@ -5,6 +5,7 @@ * hints that are left in the windows by the commands */ +#include #include #include "estruct.h" #include "edef.h" @@ -100,7 +101,6 @@ void vtinit () { VIDEO *vp; - char *malloc (); int i; (*term.t_open) (); --- ../orig/line.c 2007-06-11 23:53:25.000000000 +0200 +++ ./line.c 2007-06-11 23:34:05.491501515 +0200 @@ -47,7 +47,6 @@ { LINE *lp; int size; - char *malloc (); size = (used + NBLOCK - 1) & ~(NBLOCK - 1); if (size == 0) /* Assume that an empty */ @@ -469,8 +468,6 @@ */ int kinsert (int c) { - char *realloc (); - char *malloc (); char *nbufp; if (kused == ksize) --- ../orig/tcap.c 2007-06-11 23:53:25.000000000 +0200 +++ ./tcap.c 2007-06-11 23:34:32.617363295 +0200 @@ -2,6 +2,7 @@ #define termdef 1 /* don't define "term" external */ +#include #include /* puts(3), snprintf(3) */ #include "estruct.h" #include "edef.h" --- ../orig/termio.c 2007-06-11 23:53:25.000000000 +0200 +++ ./termio.c 2007-06-11 23:41:19.979217690 +0200 @@ -5,6 +5,7 @@ */ #undef CTRL +#include #include #include #include