From 3f3e77bce53a5d39ae09af96640a6739b4377a31 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Wed, 30 Aug 2000 12:19:30 +0000 Subject: [PATCH] add THREADFUNC prototype for threadOnce --- src/libCom/osi/osiThread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/osi/osiThread.h b/src/libCom/osi/osiThread.h index ffca88fe0..74f530e0c 100644 --- a/src/libCom/osi/osiThread.h +++ b/src/libCom/osi/osiThread.h @@ -37,11 +37,11 @@ epicsShareFunc unsigned int epicsShareAPI threadGetStackSize(threadStackSizeClas typedef int threadOnceId; #define OSITHREAD_ONCE_INIT 0 -/* void threadOnce(threadOnceId *id, void (*func)(void *), void *arg); */ +/* void threadOnce(threadOnceId *id, THREADFUNC, void *arg); */ /* threadOnce is implemented as a macro */ /* threadOnceOsd should not be called by user code */ epicsShareFunc void epicsShareAPI threadOnceOsd( - threadOnceId *id, void (*func)(void *), void *arg); + threadOnceId *id, THREADFUNC, void *arg); #define threadOnce(id,func,arg) \ if(*(id)<=0) threadOnceOsd((id),(func),(arg))