diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-21 14:49:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-21 14:49:31 +0000 |
commit | e570c7617d8c1032bf4c1c3cd0df2a7683ee80bf (patch) | |
tree | 93d6cae17218ad5f7c87c9b4790c8fd88e942343 /c/src/exec/libnetworking/rtems/rtems_showroute.c | |
parent | Patch from Eric Norum <eric@cls.usask.ca>: (diff) | |
download | rtems-e570c7617d8c1032bf4c1c3cd0df2a7683ee80bf.tar.bz2 |
Patch from Eric Norum <eric@cls.usask.ca> to remove warnings.
Diffstat (limited to 'c/src/exec/libnetworking/rtems/rtems_showroute.c')
-rw-r--r-- | c/src/exec/libnetworking/rtems/rtems_showroute.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/c/src/exec/libnetworking/rtems/rtems_showroute.c b/c/src/exec/libnetworking/rtems/rtems_showroute.c index e471ccc58c..c0d0b231e8 100644 --- a/c/src/exec/libnetworking/rtems/rtems_showroute.c +++ b/c/src/exec/libnetworking/rtems/rtems_showroute.c @@ -2,8 +2,6 @@ * $Id$ */ -/* #include <stdlib.h> */ - #include <sys/param.h> #include <sys/queue.h> #include <sys/systm.h> @@ -24,10 +22,11 @@ #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 malloc +#include <stdlib.h> /* * Information per route |