From 19091f245bec9aab60e2d2c183e8bffc678282f1 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 29 Apr 1997 06:50:35 +0000 Subject: [PATCH] fixed warnings --- src/libCom/bucketLib.c | 5 +---- src/libCom/bucketLib/bucketLib.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/libCom/bucketLib.c b/src/libCom/bucketLib.c index 2763d3abf..9b047dc4d 100644 --- a/src/libCom/bucketLib.c +++ b/src/libCom/bucketLib.c @@ -43,6 +43,7 @@ #include "epicsAssert.h" #include "bucketLib.h" +#include "freeList.h" #ifndef TRUE #define TRUE 1 @@ -384,9 +385,6 @@ int bucketFree (prb) BUCKET *prb; #endif { - ITEM *pi; - ITEM *pni; - /* * deleting a bucket with entries in use * will cause memory leaks and is not allowed @@ -558,7 +556,6 @@ BUCKET *pb; { ITEM **ppi; ITEM *pi; - ITEM *pni; unsigned nElem; double X; double XX; diff --git a/src/libCom/bucketLib/bucketLib.c b/src/libCom/bucketLib/bucketLib.c index 2763d3abf..9b047dc4d 100644 --- a/src/libCom/bucketLib/bucketLib.c +++ b/src/libCom/bucketLib/bucketLib.c @@ -43,6 +43,7 @@ #include "epicsAssert.h" #include "bucketLib.h" +#include "freeList.h" #ifndef TRUE #define TRUE 1 @@ -384,9 +385,6 @@ int bucketFree (prb) BUCKET *prb; #endif { - ITEM *pi; - ITEM *pni; - /* * deleting a bucket with entries in use * will cause memory leaks and is not allowed @@ -558,7 +556,6 @@ BUCKET *pb; { ITEM **ppi; ITEM *pi; - ITEM *pni; unsigned nElem; double X; double XX;