From 363080071c8d12c32c14dc77f7024345dd627ca2 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 22 May 2008 20:19:34 +0000 Subject: [PATCH] Fix build issues on vxWorks. --- src/libCom/test/taskwdTest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libCom/test/taskwdTest.c b/src/libCom/test/taskwdTest.c index d0156797c..7fc5b2a6c 100644 --- a/src/libCom/test/taskwdTest.c +++ b/src/libCom/test/taskwdTest.c @@ -34,7 +34,7 @@ void monRemove(void *usr, epicsThreadId tid) testPass("monRemove(tid=%p)", (void *)tid); } -taskwdMonitor monitor = {monInsert, monNotify, monRemove}; +taskwdMonitor monFuncs = {monInsert, monNotify, monRemove}; void anyNotify(void *usr, epicsThreadId tid) { @@ -64,12 +64,12 @@ void testTask2(void *arg) taskwdRemove(0); } -MAIN(epicsThreadPrivateTest) +MAIN(taskwdTest) { testPlan(8); taskwdInit(); - taskwdMonitorAdd(&monitor, NULL); + taskwdMonitorAdd(&monFuncs, NULL); taskwdAnyInsert(NULL, anyNotify, NULL); epicsThreadCreate("testTask1", epicsThreadPriorityMax, @@ -84,7 +84,7 @@ MAIN(epicsThreadPrivateTest) /* taskwd checks tasks every 6 seconds */ epicsThreadSleep(18.0); - taskwdMonitorDel(&monitor, NULL); + taskwdMonitorDel(&monFuncs, NULL); taskwdAnyRemove(NULL); return testDone();