From e570c7617d8c1032bf4c1c3cd0df2a7683ee80bf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 21 Jan 2000 14:49:31 +0000 Subject: Patch from Eric Norum to remove warnings. --- c/src/exec/libnetworking/rtems/rtems_showroute.c | 7 +++---- c/src/libnetworking/rtems/rtems_showroute.c | 7 +++---- cpukit/libnetworking/rtems/rtems_showroute.c | 7 +++---- 3 files changed, 9 insertions(+), 12 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 */ - #include #include #include @@ -24,10 +22,11 @@ #include /* - * 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 /* * Information per route diff --git a/c/src/libnetworking/rtems/rtems_showroute.c b/c/src/libnetworking/rtems/rtems_showroute.c index e471ccc58c..c0d0b231e8 100644 --- a/c/src/libnetworking/rtems/rtems_showroute.c +++ b/c/src/libnetworking/rtems/rtems_showroute.c @@ -2,8 +2,6 @@ * $Id$ */ -/* #include */ - #include #include #include @@ -24,10 +22,11 @@ #include /* - * 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 /* * Information per route diff --git a/cpukit/libnetworking/rtems/rtems_showroute.c b/cpukit/libnetworking/rtems/rtems_showroute.c index e471ccc58c..c0d0b231e8 100644 --- a/cpukit/libnetworking/rtems/rtems_showroute.c +++ b/cpukit/libnetworking/rtems/rtems_showroute.c @@ -2,8 +2,6 @@ * $Id$ */ -/* #include */ - #include #include #include @@ -24,10 +22,11 @@ #include /* - * 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 /* * Information per route -- cgit v1.2.3