X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fllib-ltinfo;h=9b8949ac60d4c1cca957d90dc45408ec26a071f9;hp=fd3036bc1d88d3d93c0bf9258c21cf06439148ff;hb=5461fc336d03fbfea6b85ac21c6d49c528f6752d;hpb=6a530b46563470c2ca73579d1994a0c8e275dd98 diff --git a/ncurses/llib-ltinfo b/ncurses/llib-ltinfo index fd3036bc..9b8949ac 100644 --- a/ncurses/llib-ltinfo +++ b/ncurses/llib-ltinfo @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2012-2013,2015 Free Software Foundation, Inc. * + * Copyright (c) 2012-2015,2016 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -34,8 +34,6 @@ /* ./tinfo/access.c */ #include -#include -#include #undef _nc_rootname char *_nc_rootname( @@ -111,8 +109,6 @@ const char *const strcodes[] = {0}; /* ./comp_captab.c */ -#include - #undef _nc_get_table const struct name_table_entry *_nc_get_table( NCURSES_BOOL termcap) @@ -196,8 +192,6 @@ struct name_table_entry const *_nc_find_type_entry( /* ./tinfo/db_iterator.c */ -#include - #undef _nc_tic_dir const char *_nc_tic_dir( const char *path) @@ -303,15 +297,6 @@ char *_nc_home_terminfo(void) /* ./tinfo/init_keytry.c */ -#if 0 - -#include - -#undef _nc_tinfo_fkeys -const struct tinfo_fkeys _nc_tinfo_fkeys[] = {0}; - -#endif - #undef _nc_init_keytry void _nc_init_keytry( SCREEN *sp) @@ -333,11 +318,9 @@ void _nc_init_acs(void) /* ./tinfo/lib_baudrate.c */ -#include - struct speed { - short s; - int sp; + int given_speed; + int actual_speed; }; #undef _nc_baudrate @@ -485,8 +468,6 @@ char *longname(void) /* ./tinfo/lib_napms.c */ -#include - #undef napms_sp int napms_sp( SCREEN *sp, @@ -670,10 +651,6 @@ int intrflush( /* ./tinfo/lib_setup.c */ -#include -#include -#include - #undef ttytype char ttytype[256]; #undef LINES @@ -791,12 +768,6 @@ int tgetent_sp( const char *name) { return(*(int *)0); } -#if 0 - -#include - -#endif - #undef tgetent int tgetent( char *bufp, @@ -1136,11 +1107,6 @@ chtype _nc_retrace_chtype( /* ./trace/lib_tracebits.c */ -typedef struct { - unsigned int val; - const char name[8]; -} BITNAMES; - #undef _nc_trace_ttymode char *_nc_trace_ttymode( struct termios *tty) @@ -1297,8 +1263,6 @@ void _nc_set_buffer( /* ./tinfo/read_entry.c */ -#include - #undef _nc_init_termtype void _nc_init_termtype( TERMTYPE *const tp) @@ -1326,8 +1290,6 @@ int _nc_read_entry( /* ./tinfo/read_termcap.c */ -#include - #undef _nc_read_termcap void _nc_read_termcap(void) { /* void */ }