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