diff --git a/src/bucoord/dump.c b/src/bucoord/dump.c index 36fc6ac5d9..03578888c4 100644 --- a/src/bucoord/dump.c +++ b/src/bucoord/dump.c @@ -225,7 +225,7 @@ bc_DmpRstStart(void *param) free(tdump->portOffset); tdump->flags &= ~BC_DI_INUSE; - return code; + return (void *)code; } /* bc_StartDmpRst diff --git a/src/butc/lwps.c b/src/butc/lwps.c index 2096845e54..8c7eb3ca9b 100644 --- a/src/butc/lwps.c +++ b/src/butc/lwps.c @@ -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 */ @@ -2282,7 +2282,7 @@ Labeller(void *param) free(labelIfPtr); LeaveDeviceQueue(deviceLatch); - return (code); + return (void *)(code); } /* PrintTapeLabel diff --git a/src/butc/tcudbprocs.c b/src/butc/tcudbprocs.c index 48f6bf8583..3b1bf8527f 100644 --- a/src/butc/tcudbprocs.c +++ b/src/butc/tcudbprocs.c @@ -744,7 +744,7 @@ saveDbToTape(void *param) free(saveDbIfPtr); LeaveDeviceQueue(deviceLatch); - return (code); + return (void *)(code); } struct rstTapeInfo { diff --git a/src/rx/rx_kcommon.c b/src/rx/rx_kcommon.c index f74f7de9e0..5f208d1e9c 100644 --- a/src/rx/rx_kcommon.c +++ b/src/rx/rx_kcommon.c @@ -291,6 +291,8 @@ rx_ServerProc(void *unused) #ifdef RX_ENABLE_LOCKS AFS_GLOCK(); #endif /* RX_ENABLE_LOCKS */ + + return NULL; } #endif /* !UKERNEL */ diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 937d54d9e8..a507a8c484 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -465,6 +465,7 @@ ubeacon_Interact(void *dummy) } } /* while loop */ + return NULL; } /* diff --git a/src/ubik/recovery.c b/src/ubik/recovery.c index 6b346d1229..b0ba2fbc62 100644 --- a/src/ubik/recovery.c +++ b/src/ubik/recovery.c @@ -832,6 +832,7 @@ urecovery_Interact(void *dummy) urecovery_state |= UBIK_RECSENTDB; } } + return NULL; } /*