Patch from Eric Norum <eric@cls.usask.ca> to remove warnings.

This commit is contained in:
Joel Sherrill
2000-01-21 14:49:31 +00:00
parent b9478fc658
commit e570c7617d
3 changed files with 9 additions and 12 deletions

View File

@@ -2,8 +2,6 @@
* $Id$ * $Id$
*/ */
/* #include <stdlib.h> */
#include <sys/param.h> #include <sys/param.h>
#include <sys/queue.h> #include <sys/queue.h>
#include <sys/systm.h> #include <sys/systm.h>
@@ -24,10 +22,11 @@
#include <arpa/inet.h> #include <arpa/inet.h>
/* /*
* We'll use the application versions of malloc and free. * We'll use the application versions of realloc and free.
*/ */
#undef malloc
#undef free #undef free
#undef malloc
#include <stdlib.h>
/* /*
* Information per route * Information per route

View File

@@ -2,8 +2,6 @@
* $Id$ * $Id$
*/ */
/* #include <stdlib.h> */
#include <sys/param.h> #include <sys/param.h>
#include <sys/queue.h> #include <sys/queue.h>
#include <sys/systm.h> #include <sys/systm.h>
@@ -24,10 +22,11 @@
#include <arpa/inet.h> #include <arpa/inet.h>
/* /*
* We'll use the application versions of malloc and free. * We'll use the application versions of realloc and free.
*/ */
#undef malloc
#undef free #undef free
#undef malloc
#include <stdlib.h>
/* /*
* Information per route * Information per route

View File

@@ -2,8 +2,6 @@
* $Id$ * $Id$
*/ */
/* #include <stdlib.h> */
#include <sys/param.h> #include <sys/param.h>
#include <sys/queue.h> #include <sys/queue.h>
#include <sys/systm.h> #include <sys/systm.h>
@@ -24,10 +22,11 @@
#include <arpa/inet.h> #include <arpa/inet.h>
/* /*
* We'll use the application versions of malloc and free. * We'll use the application versions of realloc and free.
*/ */
#undef malloc
#undef free #undef free
#undef malloc
#include <stdlib.h>
/* /*
* Information per route * Information per route