From c2649372bd1be425d5c2b51f5c5b82b6a8285046 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 23 Jun 1996 17:12:05 +0000 Subject: Moved declarations of static functions to the correct file. This fixes hundreds of warnings from -Wunused in lkm/syscons/*. --- sys/isa/syscons.h | 39 +++------------------------------------ 1 file changed, 3 insertions(+), 36 deletions(-) (limited to 'sys/isa/syscons.h') diff --git a/sys/isa/syscons.h b/sys/isa/syscons.h index f128d9b..fa420f3 100644 --- a/sys/isa/syscons.h +++ b/sys/isa/syscons.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.h,v 1.15 1996/01/30 22:56:11 mpp Exp $ + * $Id: syscons.h,v 1.16 1996/06/21 07:19:18 sos Exp $ */ #ifndef _I386_ISA_SYSCONS_H_ @@ -178,40 +178,7 @@ typedef struct default_attr { int rev_color; /* reverse hardware color */ } default_attr; -/* function prototypes */ -static void scinit(void); -static u_int scgetc(int noblock); -static scr_stat *get_scr_stat(dev_t dev); -static scr_stat *alloc_scp(void); -static void init_scp(scr_stat *scp); -static int get_scr_num(void); -static void scrn_timer(void); -static void clear_screen(scr_stat *scp); -static int switch_scr(scr_stat *scp, u_int next_scr); -static void exchange_scr(void); -static inline void move_crsr(scr_stat *scp, int x, int y); -static void scan_esc(scr_stat *scp, u_char c); -static inline void draw_cursor(scr_stat *scp, int show); -static void ansi_put(scr_stat *scp, u_char *buf, int len); -static u_char *get_fstr(u_int c, u_int *len); -static void update_leds(int which); -static void history_to_screen(scr_stat *scp); -static int history_up_line(scr_stat *scp); -static int history_down_line(scr_stat *scp); -static void kbd_wait(void); -static void kbd_cmd(u_char command); -static void set_mode(scr_stat *scp); - void set_border(int color); -static void set_vgaregs(char *modetable); -static void set_font_mode(void); -static void set_normal_mode(void); -static void copy_font(int operation, int font_type, char* font_image); -static void set_destructive_cursor(scr_stat *scp, int force); -static void reverse_mouse_cut(scr_stat *scp, int cut); -static void draw_mouse_image(scr_stat *scp); -static void save_palette(void); - void load_palette(void); -static void do_bell(scr_stat *scp, int pitch, int duration); -static void blink_screen(scr_stat *scp); +void load_palette(void); +void set_border(int color); #endif /* !_I386_ISA_SYSCONS_H_ */ -- cgit v1.1