int ad_entry = 0;
#endif
-
+int
adspAllocateCCB(gref)
register gref_t *gref; /* READ queue */
{
return 1;
}
+int
adspRelease(gref)
register gref_t *gref; /* READ queue */
{
sp->state = sClosed;
DoClose(sp, errAborted, 0); /* to closed and remove CCB */
}
+ return 0;
}
-
+int
adspWriteHandler(gref, mp)
gref_t *gref; /* WRITE queue */
gbuf_t *mp;
gbuf_freem(mp);
return(STR_IGNORE);
case dspAttention:
- if ((error = adspAttention(sp, ap)))
+ if ((error = adspAttention(sp, (CCBPtr)ap)))
gbuf_freem(mp);
return(STR_IGNORE);
}
return(STR_IGNORE);
case ADSPCLDENY:
ap->csCode = dspCLDeny;
- if ((error = adspCLDeny(sp, ap))) {
+ if ((error = adspCLDeny(sp, (CCBPtr)ap))) {
adspioc_ack(error, mp, gref);
}
return(STR_IGNORE);
return(STR_IGNORE);
case ADSPATTENTION:
ap->csCode = dspAttention;
- if ((error = adspReadAttention(sp, ap))) {
+ if ((error = adspReadAttention((CCBPtr)sp, ap))) {
adspioc_ack(error, mp, gref);
}
return(STR_IGNORE);
default:
gbuf_freem(mp);
}
+ return(STR_IGNORE);
}
-
+int
adspReadHandler(gref, mp)
gref_t *gref;
gbuf_t *mp;
* Side Effects:
* NONE
*/
-
+int
adsp_sendddp(sp, mp, length, dstnetaddr, ddptype)
CCBPtr sp;
gbuf_t *mp;
return 0;
}
-void NotifyUser(sp)
- register CCBPtr sp;
+void NotifyUser(
+ __unused CCBPtr sp)
{
/*
*/
}
-void UrgentUser(sp)
- register CCBPtr sp;
+void UrgentUser(
+ __unused CCBPtr sp)
{
/*
pidsig(sp->pid, SIGURG);