summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-12-11 21:10:11 +0000
committeravg <avg@FreeBSD.org>2011-12-11 21:10:11 +0000
commit39492b518cd3195ec0ca957f582463cf707ec43d (patch)
tree03ccee76c7027c3cb59819994f486496fd4bd6f6 /sys/dev
parent787a58ca19dc176fe21f669cd503d9a890e5ee8b (diff)
downloadFreeBSD-src-39492b518cd3195ec0ca957f582463cf707ec43d.zip
FreeBSD-src-39492b518cd3195ec0ca957f582463cf707ec43d.tar.gz
syscons: make sc_puts static as it is used only privately
Perhaps sc_puts should also be renamed to scputs to follow the implied naming conventions in the file... MFC after: 2 weeks
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/syscons/syscons.c3
-rw-r--r--sys/dev/syscons/syscons.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 3928d91..db678a5 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -185,6 +185,7 @@ static void scshutdown(void *, int);
static void scsuspend(void *);
static void scresume(void *);
static u_int scgetc(sc_softc_t *sc, u_int flags);
+static void sc_puts(scr_stat *scp, u_char *buf, int len, int kernel);
#define SCGETC_CN 1
#define SCGETC_NONBLOCK 2
static void sccnupdate(scr_stat *scp);
@@ -2603,7 +2604,7 @@ exchange_scr(sc_softc_t *sc)
mark_all(scp);
}
-void
+static void
sc_puts(scr_stat *scp, u_char *buf, int len, int kernel)
{
int need_unlock = 0;
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h
index 79f531b..7280d89 100644
--- a/sys/dev/syscons/syscons.h
+++ b/sys/dev/syscons/syscons.h
@@ -562,7 +562,6 @@ void sc_save_font(scr_stat *scp, int page, int size, int width,
void sc_show_font(scr_stat *scp, int page);
void sc_touch_scrn_saver(void);
-void sc_puts(scr_stat *scp, u_char *buf, int len, int kernel);
void sc_draw_cursor_image(scr_stat *scp);
void sc_remove_cursor_image(scr_stat *scp);
void sc_set_cursor_image(scr_stat *scp);
OpenPOWER on IntegriCloud