From 634f37c2250f14b09b75228b2f3efabbf303975b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 30 Nov 2006 22:27:34 +0000 Subject: [PATCH] fixed func and func proto dont match warning --- src/libCom/osi/devLib.c | 4 ++-- src/libCom/osi/devLib.h | 15 +++------------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/libCom/osi/devLib.c b/src/libCom/osi/devLib.c index 88839552d..a0d88945f 100644 --- a/src/libCom/osi/devLib.c +++ b/src/libCom/osi/devLib.c @@ -859,7 +859,7 @@ long devNoResponseProbe (epicsAddressType addrType, long devConnectInterrupt( epicsInterruptType intType, unsigned vectorNumber, -void (*pFunction)(), +void (*pFunction)(void *), void *parameter) { long status; @@ -890,7 +890,7 @@ void *parameter) long devDisconnectInterrupt( epicsInterruptType intType, unsigned vectorNumber, -void (*pFunction)() +void (*pFunction)(void *) ) { long status; diff --git a/src/libCom/osi/devLib.h b/src/libCom/osi/devLib.h index edd0b2f5a..9f02749a8 100644 --- a/src/libCom/osi/devLib.h +++ b/src/libCom/osi/devLib.h @@ -12,17 +12,8 @@ /* * Original Author: Marty Kraimer - * Author: Jeff Hill - * Date: 03-10-93 - * - * Notes: - * ------ - * .01 03-23-93 joh We will only have problems with mod .03 - * above if the CPU maintains the different - * address modes in different address spaces - * and we have a card or a user that insists - * on not using the default address type - * .02 06-14-93 joh needs devAllocInterruptVector() routine + * Author: Jeff Hill + * Date: 03-10-93 */ #ifndef INCdevLibh @@ -393,7 +384,7 @@ long devConnectInterrupt( long devDisconnectInterrupt( epicsInterruptType intType, unsigned vectorNumber, - void (*pFunction)(void *)); + void (*pFunction)(void *)); /* * NOTE: this routine has been deprecated. It exists