From b041968c1995efa0014d778fdb21c7ff8ddd2ea5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Oct 2002 20:09:49 +0000 Subject: 2002-10-31 Joel Sherrill * src/heapgetinfo.c: Fixed comment. * src/mpci.c: Removed warning. --- cpukit/score/ChangeLog | 5 +++++ cpukit/score/src/heapgetinfo.c | 4 ++-- cpukit/score/src/mpci.c | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index dd254d7505..b9dad3669a 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,8 @@ +2002-10-31 Joel Sherrill + + * src/heapgetinfo.c: Fixed comment. + * src/mpci.c: Removed warning. + 2002-10-28 Joel Sherrill * src/threadhandler.c: Prototype _init() and _main() if they are needed diff --git a/cpukit/score/src/heapgetinfo.c b/cpukit/score/src/heapgetinfo.c index a55348c3c8..172b2ef3ab 100644 --- a/cpukit/score/src/heapgetinfo.c +++ b/cpukit/score/src/heapgetinfo.c @@ -24,10 +24,10 @@ * * Input parameters: * the_heap - pointer to heap header + * the_info - pointer for information to be returned * * Output parameters: - * free_sz - Pointer for free amount return - * used_sz - Pointer for used amount return + * *the_info - contains information about heap * return 0=success, otherwise heap is corrupt. */ diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index 547b690178..dd76ba40fc 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -385,6 +385,8 @@ Thread _MPCI_Receive_server( (*the_function)( the_packet ); } } + + return 0; /* unreached - only to remove warnings */ } /*PAGE -- cgit v1.2.3