diff --git a/src/sequencer/seq_prog.c b/src/sequencer/seq_prog.c index b54ea934c..432524dca 100644 --- a/src/sequencer/seq_prog.c +++ b/src/sequencer/seq_prog.c @@ -179,7 +179,7 @@ SPROG *pSP; /* * seqProgListInit() - initialize the state program list. */ -LOCAL seqProgListInit() +seqProgListInit() { /* Init linked list */ lstInit(&seqProgList); diff --git a/src/sequencer/seq_qry.c b/src/sequencer/seq_qry.c index 3b5282e82..e2768cfdf 100644 --- a/src/sequencer/seq_qry.c +++ b/src/sequencer/seq_qry.c @@ -86,7 +86,7 @@ int tid; ((pSP->options & OPT_REENT) != 0), ((pSP->options & OPT_CONN) != 0), ((pSP->options & OPT_NEWEF) != 0) ); printf(" log file fd=%d\n", pSP->logFd); - status = ioctl(pSP->logFd, FIOGETNAME, file_name); + status = ioctl(pSP->logFd, FIOGETNAME, (int)file_name); if (status != ERROR) printf(" log file name=\"%s\"\n", file_name); @@ -298,7 +298,7 @@ int type; } /* Find a state program associated with a given task id */ -LOCAL SPROG *seqQryFind(tid) +SPROG *seqQryFind(tid) int tid; { SPROG *pSP; @@ -356,7 +356,7 @@ SPROG *pSP; } /* Print a brief summary of all state programs */ -LOCAL seqShowAll() +seqShowAll() { SPROG *pSP; diff --git a/src/sequencer/seq_task.c b/src/sequencer/seq_task.c index b94937be6..3b63f712e 100644 --- a/src/sequencer/seq_task.c +++ b/src/sequencer/seq_task.c @@ -83,7 +83,7 @@ char *ptask_name; /* Parent task name */ SPAWN_PRIORITY+pSS->task_priority, /* priority */ SPAWN_OPTIONS, /* task options */ stack_size, /* stack size */ - (int)ss_entry, /* entry point */ + (FUNCPTR)ss_entry, /* entry point */ (int)pSP, (int)pSS, /* pass 2 parameters */ 0,0,0,0,0,0,0,0);