fixed sun pro warnings

This commit is contained in:
Jeff Hill
2001-01-12 16:31:00 +00:00
parent cfe2ed5f17
commit d0574e2f19
9 changed files with 76 additions and 38 deletions

View File

@@ -34,6 +34,11 @@ void getCallback::destroy ()
delete this;
}
void getCallback::completionNotify ()
{
cacNotify::completionNotify ();
}
void getCallback::completionNotify ( unsigned type, unsigned long count, const void *pData )
{
struct event_handler_args args;
@@ -46,8 +51,7 @@ void getCallback::completionNotify ( unsigned type, unsigned long count, const v
(*this->pFunc) (args);
}
void getCallback::exceptionNotify (int status,
const char * /* pContext */)
void getCallback::exceptionNotify (int status, const char * /* pContext */)
{
struct event_handler_args args;
args.usr = this->pPrivate;
@@ -59,6 +63,12 @@ void getCallback::exceptionNotify (int status,
(*this->pFunc) (args);
}
void getCallback::exceptionNotify ( int status, const char *pContext,
unsigned type, unsigned long count )
{
cacNotify::exceptionNotify ( status, pContext, type, count);
}
void * getCallback::operator new ( size_t size )
{
return getCallback::freeList.allocate ( size );