-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_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_open_t sgopen;
+extern d_close_t sgclose;
+extern d_ioctl_t sgioctl;