summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2000-01-20 13:23:03 +0000
committeryokota <yokota@FreeBSD.org>2000-01-20 13:23:03 +0000
commitce752f8d1a71e24b4c2cd29d82f222eb21e05be5 (patch)
tree4e195e0699c26e446e1ff2800831215066349d1d
parent630186d4d8dea85cfb479b08b29691284e6da304 (diff)
downloadFreeBSD-src-ce752f8d1a71e24b4c2cd29d82f222eb21e05be5.zip
FreeBSD-src-ce752f8d1a71e24b4c2cd29d82f222eb21e05be5.tar.gz
Unconditionally define sc_paste().
-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 351c33e..a4303c1 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 7b0a987..c99a6f2 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 */
OpenPOWER on IntegriCloud