--- a/main.c +++ b/main.c @@ -75,9 +75,7 @@ #include #include #include -#ifndef NO_XPOLL_H -#include -#endif +#include #include #include #include @@ -283,7 +281,6 @@ #include # endif #endif -#include /* for NOFILE */ #ifdef PUCC_PTYD #include --- a/screen.c +++ b/screen.c @@ -46,7 +46,7 @@ #include #endif -extern Char *calloc(), *malloc(), *realloc(); +extern void *calloc(), *malloc(), *realloc(); extern void free(); ScrnBuf Allocate (nrow, ncol, addr) --- a/scrollbar.c +++ b/scrollbar.c @@ -324,7 +324,7 @@ register TScreen *screen = &xw->screen; register int border = 2 * screen->border; register int i; - Char *realloc(), *calloc(); + void *realloc(), *calloc(); if(screen->scrollbar) return;