char str[sizeof("1234567890\0")];
};
-static void *fd_init(char *str, int device, struct chan_opts *opts)
+void *fd_init(char *str, int device, struct chan_opts *opts)
{
struct fd_chan *data;
char *end;
return(data);
}
-static int fd_open(int input, int output, int primary, void *d, char **dev_out)
+int fd_open(int input, int output, int primary, void *d, char **dev_out)
{
struct fd_chan *data = d;
int err;
return(data->fd);
}
-static void fd_close(int fd, void *d)
+void fd_close(int fd, void *d)
{
struct fd_chan *data = d;
int err;
}
}
-static int fd_console_write(int fd, const char *buf, int n, void *d)
+int fd_console_write(int fd, const char *buf, int n, void *d)
{
struct fd_chan *data = d;