static int initialized = 0;
-// Function prototypes
-extern d_open_t kmopen;
-extern d_close_t kmclose;
-extern d_read_t kmread;
-extern d_write_t kmwrite;
-extern d_ioctl_t kmioctl;
-extern d_getc_t kmgetc;
-extern d_putc_t kmputc;
-
extern void kminit(void);
// used by or implemented in the osfmk project
if (cc == 0)
break;
cc = min(cc, sizeof buf);
- (void) q_to_b(&tp->t_outq, buf, cc);
+ (void) q_to_b(&tp->t_outq, (unsigned char *)buf, cc);
for (cp = buf; cp < &buf[cc]; cp++)
kmputc(tp->t_dev, *cp & 0x7f);
}