From 4e570ce71012d955c27b114740f0bcbfe1578da3 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 7 Mar 2001 17:50:54 +0000 Subject: [PATCH] fixed sun pro warnings --- src/db/dbCAC.h | 2 +- src/db/dbChannelIO.cpp | 2 +- src/db/dbSubscriptionIO.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/db/dbCAC.h b/src/db/dbCAC.h index 546cf2258..4c8a95e32 100644 --- a/src/db/dbCAC.h +++ b/src/db/dbCAC.h @@ -59,7 +59,7 @@ class dbSubscriptionIO : public cacNotifyIO, public tsDLNode public: dbSubscriptionIO ( dbChannelIO &chanIO, cacNotify &, unsigned type, unsigned long count ); void cancel (); - int begin ( struct dbAddr &addr, unsigned mask ); + int begin ( unsigned mask ); //void destroy (); void show ( unsigned level ) const; cacChannelIO & channelIO () const; diff --git a/src/db/dbChannelIO.cpp b/src/db/dbChannelIO.cpp index 907b9d653..23397f184 100644 --- a/src/db/dbChannelIO.cpp +++ b/src/db/dbChannelIO.cpp @@ -171,7 +171,7 @@ int dbChannelIO::subscribe ( unsigned type, unsigned long count, return ECA_ALLOCMEM; } - int status = pIO->begin ( this->addr, mask ); + int status = pIO->begin ( mask ); if ( status == ECA_NORMAL ) { pReturnIO = pIO; } diff --git a/src/db/dbSubscriptionIO.cpp b/src/db/dbSubscriptionIO.cpp index 46c151829..62976b04e 100644 --- a/src/db/dbSubscriptionIO.cpp +++ b/src/db/dbSubscriptionIO.cpp @@ -80,7 +80,7 @@ extern "C" void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr *pad pIO->chan.subscriptionUpdate ( pIO->type, pIO->count, pfl, *pIO); } -int dbSubscriptionIO::begin ( struct dbAddr &addr, unsigned mask ) +int dbSubscriptionIO::begin ( unsigned mask ) { if ( this->type > INT_MAX ) { return ECA_BADCOUNT;