From bc3912c420a9a022b571a40090cdff0a38178210 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 22 Nov 2015 05:37:17 +0100 Subject: [PATCH] kernel/syscons: Change definitions of dev_ops functions to static. To match their declarations. --- sys/dev/misc/syscons/syscons.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/misc/syscons/syscons.c b/sys/dev/misc/syscons/syscons.c index 98ef76ba71..25eed6b6c2 100644 --- a/sys/dev/misc/syscons/syscons.c +++ b/sys/dev/misc/syscons/syscons.c @@ -530,7 +530,7 @@ scdevtounit(cdev_t dev) return vty/MAXCONS; } -int +static int scopen(struct dev_open_args *ap) { cdev_t dev = ap->a_head.a_dev; @@ -610,7 +610,7 @@ scopen(struct dev_open_args *ap) return error; } -int +static int scclose(struct dev_close_args *ap) { cdev_t dev = ap->a_head.a_dev; @@ -660,7 +660,7 @@ scclose(struct dev_close_args *ap) return(0); } -int +static int scread(struct dev_read_args *ap) { int ret; @@ -770,7 +770,7 @@ scparam(struct tty *tp, struct termios *t) return 0; } -int +static int scioctl(struct dev_ioctl_args *ap) { cdev_t dev = ap->a_head.a_dev; @@ -3711,7 +3711,7 @@ next_code: goto next_code; } -int +static int scmmap(struct dev_mmap_args *ap) { scr_stat *scp; -- 2.41.0