suppress gnu warning

This commit is contained in:
Jeff Hill
2002-12-19 01:55:32 +00:00
parent 8d318d9a99
commit 605c1fb8fe
5 changed files with 10 additions and 9 deletions
+2 -1
View File
@@ -36,8 +36,9 @@
*
* CA server TCP client task (one spawned for each client)
*/
void camsgtask ( struct client *client )
void camsgtask ( void *pParm )
{
struct client *client = (struct client *) pParm;
int nchars;
int status;
+3 -3
View File
@@ -56,7 +56,7 @@ if(threadNameToId(NAME)!=0)threadDestroy(threadNameToId(NAME));
* handle each of them
*
*/
LOCAL void req_server (void)
LOCAL void req_server (void *pParm)
{
unsigned priorityOfSelf = epicsThreadGetPrioritySelf ();
unsigned priorityOfUDP;
@@ -179,7 +179,7 @@ LOCAL void req_server (void)
tid = epicsThreadCreate ( "CAS-UDP", priorityOfUDP,
epicsThreadGetStackSize (epicsThreadStackMedium),
(EPICSTHREADFUNC) cast_server, 0 );
cast_server, 0 );
if ( tid == 0 ) {
epicsPrintf ( "CAS: unable to start connection request thread\n" );
}
@@ -210,7 +210,7 @@ LOCAL void req_server (void)
id = epicsThreadCreate ( "CAS-client", epicsThreadPriorityCAServerLow,
epicsThreadGetStackSize ( epicsThreadStackBig ),
( EPICSTHREADFUNC ) camsgtask, pClient );
camsgtask, pClient );
if ( id == 0 ) {
destroy_tcp_client ( pClient );
errlogPrintf ( "CAS: task creation for new client failed\n" );
+1 -1
View File
@@ -107,7 +107,7 @@ LOCAL void clean_addrq()
* service UDP messages
*
*/
int cast_server(void)
void cast_server(void *pParm)
{
unsigned priorityOfSelf = epicsThreadGetPrioritySelf ();
unsigned priorityOfBeacon;
+1 -1
View File
@@ -56,7 +56,7 @@ static void forcePort (ELLLIST *pList, unsigned short port)
/*
* RSRV_ONLINE_NOTIFY_TASK
*/
void rsrv_online_notify_task()
void rsrv_online_notify_task(void *pParm)
{
osiSockAddrNode *pNode;
double delay;
+3 -3
View File
@@ -172,11 +172,11 @@ GLBLTYPE void *rsrvPutNotifyFreeList;
#define LOCK_CLIENTQ epicsMutexMustLock (clientQlock);
#define UNLOCK_CLIENTQ epicsMutexUnlock (clientQlock);
void camsgtask (struct client *client);
void camsgtask (void *client);
void cas_send_bs_msg ( struct client *pclient, int lock_needed );
void cas_send_dg_msg ( struct client *pclient );
void rsrv_online_notify_task (void);
int cast_server (void);
void rsrv_online_notify_task (void *);
void cast_server (void);
struct client *create_client ( SOCKET sock, int proto );
void destroy_client ( struct client * );
struct client *create_tcp_client ( SOCKET sock );