Portability fixes: don't declare library functions, include
appropriate headers. Also remove some unused declarations.
This commit is contained in:
parent
56dce5a8c4
commit
4ce5f988d0
13 changed files with 19 additions and 156 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue