(M. Davidsaver): static keyword is part of C89,
remove all uses and internal definitions of LOCAL macro
This commit is contained in:
+7
-7
@@ -126,9 +126,9 @@ epicsMutexMustLock((RECPTR)->mlok);
|
||||
#define UNLOCKREC(RECPTR)\
|
||||
epicsMutexUnlock((RECPTR)->mlok);
|
||||
|
||||
LOCAL void *dbevEventUserFreeList;
|
||||
LOCAL void *dbevEventQueueFreeList;
|
||||
LOCAL void *dbevEventBlockFreeList;
|
||||
static void *dbevEventUserFreeList;
|
||||
static void *dbevEventQueueFreeList;
|
||||
static void *dbevEventBlockFreeList;
|
||||
|
||||
static char *EVENT_PEND_NAME = "eventTask";
|
||||
|
||||
@@ -469,7 +469,7 @@ void epicsShareAPI db_event_disable (dbEventSubscription es)
|
||||
* event_remove()
|
||||
* event queue lock _must_ be applied
|
||||
*/
|
||||
LOCAL void event_remove ( struct event_que *ev_que,
|
||||
static void event_remove ( struct event_que *ev_que,
|
||||
unsigned short index, struct evSubscrip *placeHolder )
|
||||
{
|
||||
struct evSubscrip *pEvent = ev_que->evque[index];
|
||||
@@ -625,7 +625,7 @@ int epicsShareAPI db_post_extra_labor (dbEventCtx ctx)
|
||||
*
|
||||
* NOTE: This assumes that the db scan lock is already applied
|
||||
*/
|
||||
LOCAL void db_post_single_event_private (struct evSubscrip *event)
|
||||
static void db_post_single_event_private (struct evSubscrip *event)
|
||||
{
|
||||
struct event_que *ev_que;
|
||||
db_field_log *pLog;
|
||||
@@ -789,7 +789,7 @@ void epicsShareAPI db_post_single_event (dbEventSubscription es)
|
||||
/*
|
||||
* EVENT_READ()
|
||||
*/
|
||||
LOCAL int event_read ( struct event_que *ev_que )
|
||||
static int event_read ( struct event_que *ev_que )
|
||||
{
|
||||
db_field_log *pfl;
|
||||
void ( *user_sub ) ( void *user_arg, struct dbAddr *paddr,
|
||||
@@ -896,7 +896,7 @@ LOCAL int event_read ( struct event_que *ev_que )
|
||||
/*
|
||||
* EVENT_TASK()
|
||||
*/
|
||||
LOCAL void event_task (void *pParm)
|
||||
static void event_task (void *pParm)
|
||||
{
|
||||
struct event_user *evUser = (struct event_user *) pParm;
|
||||
struct event_que *ev_que;
|
||||
|
||||
Reference in New Issue
Block a user