diff options
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r-- | sys/dev/syscons/syscons.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 4673c34..51dca11 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -444,7 +444,7 @@ scdevtounit(dev_t dev) return vty/MAXCONS; } -int +static int scopen(dev_t dev, int flag, int mode, struct thread *td) { int unit = scdevtounit(dev); @@ -503,7 +503,7 @@ scopen(dev_t dev, int flag, int mode, struct thread *td) return error; } -int +static int scclose(dev_t dev, int flag, int mode, struct thread *td) { struct tty *tp = dev->si_tty; @@ -551,7 +551,7 @@ scclose(dev_t dev, int flag, int mode, struct thread *td) return(0); } -int +static int scread(dev_t dev, struct uio *uio, int flag) { if (!sc_saver_keyb_only) @@ -637,7 +637,7 @@ scparam(struct tty *tp, struct termios *t) return 0; } -int +static int scioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td) { int error; @@ -3359,7 +3359,7 @@ next_code: goto next_code; } -int +static int scmmap(dev_t dev, vm_offset_t offset, int nprot) { scr_stat *scp; |