X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fllib-ltinfow;h=123ed9b82911f726f5711de14e962986230bee5d;hp=6df32966082abeeb07d074b7a23d73d483b35773;hb=3eda6f30a84d53844d2ebceadb457e2e7e9cfbf3;hpb=6a530b46563470c2ca73579d1994a0c8e275dd98 diff --git a/ncurses/llib-ltinfow b/ncurses/llib-ltinfow index 6df32966..123ed9b8 100644 --- a/ncurses/llib-ltinfow +++ b/ncurses/llib-ltinfow @@ -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, @@ -1147,11 +1118,6 @@ char *_tracecchar_t( /* ./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) @@ -1308,8 +1274,6 @@ void _nc_set_buffer( /* ./tinfo/read_entry.c */ -#include - #undef _nc_init_termtype void _nc_init_termtype( TERMTYPE *const tp) @@ -1337,8 +1301,6 @@ int _nc_read_entry( /* ./tinfo/read_termcap.c */ -#include - #undef _nc_read_termcap void _nc_read_termcap(void) { /* void */ }