mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
void-return-casts-20080409
LICENSE IPL10 do apporpriate casts for void returns to placate irix cc
This commit is contained in:
parent
7faf596b43
commit
fab6653cf7
@ -225,7 +225,7 @@ bc_DmpRstStart(void *param)
|
|||||||
free(tdump->portOffset);
|
free(tdump->portOffset);
|
||||||
tdump->flags &= ~BC_DI_INUSE;
|
tdump->flags &= ~BC_DI_INUSE;
|
||||||
|
|
||||||
return code;
|
return (void *)code;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* bc_StartDmpRst
|
/* bc_StartDmpRst
|
||||||
|
@ -1920,7 +1920,7 @@ Restorer(void *param) {
|
|||||||
|
|
||||||
FreeNode(taskId);
|
FreeNode(taskId);
|
||||||
LeaveDeviceQueue(deviceLatch);
|
LeaveDeviceQueue(deviceLatch);
|
||||||
return (code);
|
return (void *)(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this is just scaffolding, creates new tape label with name <tapeName> */
|
/* this is just scaffolding, creates new tape label with name <tapeName> */
|
||||||
@ -2282,7 +2282,7 @@ Labeller(void *param)
|
|||||||
|
|
||||||
free(labelIfPtr);
|
free(labelIfPtr);
|
||||||
LeaveDeviceQueue(deviceLatch);
|
LeaveDeviceQueue(deviceLatch);
|
||||||
return (code);
|
return (void *)(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PrintTapeLabel
|
/* PrintTapeLabel
|
||||||
|
@ -744,7 +744,7 @@ saveDbToTape(void *param)
|
|||||||
|
|
||||||
free(saveDbIfPtr);
|
free(saveDbIfPtr);
|
||||||
LeaveDeviceQueue(deviceLatch);
|
LeaveDeviceQueue(deviceLatch);
|
||||||
return (code);
|
return (void *)(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct rstTapeInfo {
|
struct rstTapeInfo {
|
||||||
|
@ -291,6 +291,8 @@ rx_ServerProc(void *unused)
|
|||||||
#ifdef RX_ENABLE_LOCKS
|
#ifdef RX_ENABLE_LOCKS
|
||||||
AFS_GLOCK();
|
AFS_GLOCK();
|
||||||
#endif /* RX_ENABLE_LOCKS */
|
#endif /* RX_ENABLE_LOCKS */
|
||||||
|
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif /* !UKERNEL */
|
#endif /* !UKERNEL */
|
||||||
|
|
||||||
|
@ -465,6 +465,7 @@ ubeacon_Interact(void *dummy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} /* while loop */
|
} /* while loop */
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -832,6 +832,7 @@ urecovery_Interact(void *dummy)
|
|||||||
urecovery_state |= UBIK_RECSENTDB;
|
urecovery_state |= UBIK_RECSENTDB;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user