-extern int cnopen(),cnclose(),cnread(),cnwrite(),cnioctl(),
- cnselect(),cngetc(), cnputc(dev_t dev, char c);
-extern int kmopen(),kmclose(),kmread(),kmwrite(),kmioctl(),
- kmgetc(), kmputc(dev_t dev, char c);
-extern int sgopen(),sgclose(), sgioctl();
+extern d_open_t cnopen;
+extern d_close_t cnclose;
+extern d_read_t cnread;
+extern d_write_t cnwrite;
+extern d_ioctl_t cnioctl;
+extern d_select_t cnselect;
+extern d_getc_t cngetc;
+extern d_putc_t cnputc;
+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 d_open_t sgopen;
+extern d_close_t sgclose;
+extern d_ioctl_t sgioctl;