X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fllib-ltinfotw;h=08c53d460373ee36a7c92942fe4ff053d4ba5a10;hp=ec9b63d443ffd23264e7d5588a00e7726b6b9481;hb=1b540608eae9a714c0c4195310f25c1a1897ae89;hpb=cc387b11f421650091d84640e05825ea5161ac66 diff --git a/ncurses/llib-ltinfotw b/ncurses/llib-ltinfotw index ec9b63d4..08c53d46 100644 --- a/ncurses/llib-ltinfotw +++ b/ncurses/llib-ltinfotw @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2012,2013 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 * @@ -27,15 +27,13 @@ ****************************************************************************/ /**************************************************************************** - * Author: Thomas E. Dickey 2012 * + * Author: Thomas E. Dickey 2012-on * ****************************************************************************/ /* LINTLIBRARY */ /* ./tinfo/access.c */ #include -#include -#include #undef _nc_rootname char *_nc_rootname( @@ -103,21 +101,19 @@ void _nc_copy_termtype( /* ./codes.c */ #undef _nc_boolcodes -char *const *_nc_boolcodes(void) - { return(*(char **)0); } +const char *const *_nc_boolcodes(void) + { return(*(const char **)0); } #undef _nc_numcodes -char *const *_nc_numcodes(void) - { return(*(char **)0); } +const char *const *_nc_numcodes(void) + { return(*(const char **)0); } #undef _nc_strcodes -char *const *_nc_strcodes(void) - { return(*(char **)0); } +const char *const *_nc_strcodes(void) + { return(*(const char **)0); } /* ./comp_captab.c */ -#include - #undef _nc_get_table const struct name_table_entry *_nc_get_table( NCURSES_BOOL termcap) @@ -201,8 +197,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) @@ -308,15 +302,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) @@ -339,11 +324,9 @@ void _nc_init_acs(void) /* ./tinfo/lib_baudrate.c */ -#include - struct speed { - int s; - int sp; + int given_speed; + int actual_speed; }; #undef _nc_baudrate @@ -508,15 +491,15 @@ int flushinp(void) struct kn { short offset; int code; }; #undef keyname_sp -char *keyname_sp( +const char *keyname_sp( SCREEN *sp, int c) - { return(*(char **)0); } + { return(*(const char **)0); } #undef keyname -char *keyname( +const char *keyname( int c) - { return(*(char **)0); } + { return(*(const char **)0); } /* ./tinfo/lib_longname.c */ @@ -714,10 +697,6 @@ int intrflush( /* ./tinfo/lib_setup.c */ -#include -#include -#include - #undef _nc_ttytype char *_nc_ttytype(void) { return(*(char **)0); } @@ -826,7 +805,7 @@ int _nc_locale_breaks_acs( #undef _nc_setupterm int _nc_setupterm( - char *tname, + const char *tname, int Filedes, int *errret, int reuse) @@ -838,7 +817,7 @@ SCREEN *new_prescr(void) #undef setupterm int setupterm( - char *tname, + const char *tname, int Filedes, int *errret) { return(*(int *)0); } @@ -857,12 +836,6 @@ int tgetent_sp( const char *name) { return(*(int *)0); } -#if 0 - -#include - -#endif - #undef tgetent int tgetent( char *bufp, @@ -872,35 +845,35 @@ int tgetent( #undef tgetflag_sp int tgetflag_sp( SCREEN *sp, - char *id) + const char *id) { return(*(int *)0); } #undef tgetflag int tgetflag( - char *id) + const char *id) { return(*(int *)0); } #undef tgetnum_sp int tgetnum_sp( SCREEN *sp, - char *id) + const char *id) { return(*(int *)0); } #undef tgetnum int tgetnum( - char *id) + const char *id) { return(*(int *)0); } #undef tgetstr_sp char *tgetstr_sp( SCREEN *sp, - char *id, + const char *id, char **area) { return(*(char **)0); } #undef tgetstr char *tgetstr( - char *id, + const char *id, char **area) { return(*(char **)0); } @@ -929,34 +902,34 @@ char *tgoto( #undef tigetflag_sp int tigetflag_sp( SCREEN *sp, - char *str) + const char *str) { return(*(int *)0); } #undef tigetflag int tigetflag( - char *str) + const char *str) { return(*(int *)0); } #undef tigetnum_sp int tigetnum_sp( SCREEN *sp, - char *str) + const char *str) { return(*(int *)0); } #undef tigetnum int tigetnum( - char *str) + const char *str) { return(*(int *)0); } #undef tigetstr_sp char *tigetstr_sp( SCREEN *sp, - char *str) + const char *str) { return(*(char **)0); } #undef tigetstr char *tigetstr( - char *str) + const char *str) { return(*(char **)0); } /* ./tinfo/lib_tparm.c */ @@ -973,7 +946,7 @@ int _nc_tparm_analyze( #undef tparm char *tparm( - char *string, + const char *string, ...) { return(*(char **)0); } @@ -1150,9 +1123,9 @@ const char *_nc_retrace_cptr( { return(*(const char **)0); } #undef _nc_retrace_cvoid_ptr -void *_nc_retrace_cvoid_ptr( - void *code) - { return(*(void **)0); } +const void *_nc_retrace_cvoid_ptr( + const void *code) + { return(*(const void **)0); } #undef _nc_retrace_void_ptr void *_nc_retrace_void_ptr( @@ -1238,11 +1211,6 @@ char *_tracecchar_t( /* ./trace/lib_tracebits.c */ -typedef struct { - unsigned int val; - const char *name; -} BITNAMES; - #undef _nc_trace_ttymode char *_nc_trace_ttymode( struct termios *tty) @@ -1345,8 +1313,6 @@ int resetty(void) /* ./tty/lib_twait.c */ -#include - #undef _nc_timed_wait int _nc_timed_wait( SCREEN *sp, @@ -1372,28 +1338,28 @@ int _nc_name_match( /* ./names.c */ #undef _nc_boolnames -char *const *_nc_boolnames(void) - { return(*(char **)0); } +const char *const *_nc_boolnames(void) + { return(*(const char **)0); } #undef _nc_boolfnames -char *const *_nc_boolfnames(void) - { return(*(char **)0); } +const char *const *_nc_boolfnames(void) + { return(*(const char **)0); } #undef _nc_numnames -char *const *_nc_numnames(void) - { return(*(char **)0); } +const char *const *_nc_numnames(void) + { return(*(const char **)0); } #undef _nc_numfnames -char *const *_nc_numfnames(void) - { return(*(char **)0); } +const char *const *_nc_numfnames(void) + { return(*(const char **)0); } #undef _nc_strnames -char *const *_nc_strnames(void) - { return(*(char **)0); } +const char *const *_nc_strnames(void) + { return(*(const char **)0); } #undef _nc_strfnames -char *const *_nc_strfnames(void) - { return(*(char **)0); } +const char *const *_nc_strfnames(void) + { return(*(const char **)0); } /* ./tinfo/obsolete.c */ @@ -1412,8 +1378,6 @@ void _nc_set_buffer( /* ./tinfo/read_entry.c */ -#include - #undef _nc_init_termtype void _nc_init_termtype( TERMTYPE *const tp) @@ -1441,8 +1405,6 @@ int _nc_read_entry( /* ./tinfo/read_termcap.c */ -#include - #undef _nc_read_termcap void _nc_read_termcap(void) { /* void */ } @@ -1533,15 +1495,15 @@ char *_nc_trim_sgr0( /* ./unctrl.c */ #undef unctrl_sp -char *unctrl_sp( +const char *unctrl_sp( SCREEN *sp, chtype ch) - { return(*(char **)0); } + { return(*(const char **)0); } #undef unctrl -char *unctrl( +const char *unctrl( chtype ch) - { return(*(char **)0); } + { return(*(const char **)0); } /* ./trace/visbuf.c */