Portability fixes: don't declare library functions, include

appropriate headers.  Also remove some unused declarations.
This commit is contained in:
Markus Armbruster 2004-01-15 13:43:50 +00:00
parent 56dce5a8c4
commit 4ce5f988d0
13 changed files with 19 additions and 156 deletions

View file

@ -31,6 +31,7 @@
* Steve McClure, 1998
*/
#include <stdlib.h>
#if !defined(_WIN32)
#include <unistd.h>
#endif
@ -68,7 +69,6 @@ struct qelem *
makeqt(nelem)
int nelem;
{
extern s_char *malloc();
struct qelem *table;
struct qelem *qp;
int i;