aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorKazutaka YOKOTA <yokota@FreeBSD.org>2000-01-20 13:23:03 +0000
committerKazutaka YOKOTA <yokota@FreeBSD.org>2000-01-20 13:23:03 +0000
commite17b116645b4cd45facbd3d34b028b33b6bc25f3 (patch)
treeb196c20b0064be4a1d944533cc949d2dda908e52 /sys/dev/syscons
parentacdf858c9b85df29f3deb661cedf06e68c6ea1bd (diff)
downloadsrc-e17b116645b4cd45facbd3d34b028b33b6bc25f3.tar.gz
src-e17b116645b4cd45facbd3d34b028b33b6bc25f3.zip
Unconditionally define sc_paste().
Notes
Notes: svn path=/head/; revision=56329
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c2
-rw-r--r--sys/dev/syscons/syscons.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 351c33eda483..a4303c107c52 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -3345,7 +3345,6 @@ sc_show_font(scr_stat *scp, int page)
}
#endif /* !SC_NO_FONT_LOADING */
-#ifndef SC_NO_CUTPASTE
void
sc_paste(scr_stat *scp, u_char *p, int count)
{
@@ -3361,7 +3360,6 @@ sc_paste(scr_stat *scp, u_char *p, int count)
(*linesw[tp->t_line].l_rint)(rmap[*p++], tp);
}
}
-#endif /* SC_NO_CUTPASTE */
void
sc_bell(scr_stat *scp, int pitch, int duration)
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h
index 7b0a98763215..c99a6f2c9679 100644
--- a/sys/dev/syscons/syscons.h
+++ b/sys/dev/syscons/syscons.h
@@ -506,9 +506,7 @@ int sc_clean_up(scr_stat *scp);
int sc_switch_scr(sc_softc_t *sc, u_int next_scr);
void sc_alloc_scr_buffer(scr_stat *scp, int wait, int discard);
int sc_init_emulator(scr_stat *scp, char *name);
-#ifndef SC_NO_CUTPASTE
void sc_paste(scr_stat *scp, u_char *p, int count);
-#endif /* SC_NO_CUTPASTE */
void sc_bell(scr_stat *scp, int pitch, int duration);
/* schistory.c */