Changed to work with vxWorks 5.1 and GCC 2.2.3.

This commit is contained in:
Janet B. Anderson
1993-06-07 09:30:06 +00:00
parent 330f31dbd5
commit f4e45bd784
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ SPROG *pSP;
/*
* seqProgListInit() - initialize the state program list.
*/
LOCAL seqProgListInit()
seqProgListInit()
{
/* Init linked list */
lstInit(&seqProgList);
+3 -3
View File
@@ -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;
+1 -1
View File
@@ -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);