void-return-casts-20080409

LICENSE IPL10

do apporpriate casts for void returns to placate irix cc
This commit is contained in:
Simon Wilkinson 2008-04-09 17:39:36 +00:00 committed by Derrick Brashear
parent 7faf596b43
commit fab6653cf7
6 changed files with 8 additions and 4 deletions

View File

@ -225,7 +225,7 @@ bc_DmpRstStart(void *param)
free(tdump->portOffset);
tdump->flags &= ~BC_DI_INUSE;
return code;
return (void *)code;
}
/* bc_StartDmpRst

View File

@ -1920,7 +1920,7 @@ Restorer(void *param) {
FreeNode(taskId);
LeaveDeviceQueue(deviceLatch);
return (code);
return (void *)(code);
}
/* this is just scaffolding, creates new tape label with name <tapeName> */
@ -2282,7 +2282,7 @@ Labeller(void *param)
free(labelIfPtr);
LeaveDeviceQueue(deviceLatch);
return (code);
return (void *)(code);
}
/* PrintTapeLabel

View File

@ -744,7 +744,7 @@ saveDbToTape(void *param)
free(saveDbIfPtr);
LeaveDeviceQueue(deviceLatch);
return (code);
return (void *)(code);
}
struct rstTapeInfo {

View File

@ -291,6 +291,8 @@ rx_ServerProc(void *unused)
#ifdef RX_ENABLE_LOCKS
AFS_GLOCK();
#endif /* RX_ENABLE_LOCKS */
return NULL;
}
#endif /* !UKERNEL */

View File

@ -465,6 +465,7 @@ ubeacon_Interact(void *dummy)
}
} /* while loop */
return NULL;
}
/*

View File

@ -832,6 +832,7 @@ urecovery_Interact(void *dummy)
urecovery_state |= UBIK_RECSENTDB;
}
}
return NULL;
}
/*