X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fllib-lncursestw;h=515164c73384099c476cba2918f39cd05fe1773a;hp=b1919c43e822b06f1501f7e47df3c14e1ab1c321;hb=c72b2c2c48ade76b5b4090b0f54b619a4fd483d9;hpb=cc387b11f421650091d84640e05825ea5161ac66 diff --git a/ncurses/llib-lncursestw b/ncurses/llib-lncursestw index b1919c43..515164c7 100644 --- a/ncurses/llib-lncursestw +++ b/ncurses/llib-lncursestw @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2009-2011,2013 Free Software Foundation, Inc. * + * Copyright (c) 2009-2013,2015 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,7 +27,7 @@ ****************************************************************************/ /**************************************************************************** - * Author: Thomas E. Dickey 2009-on * + * Author: Thomas E. Dickey 2009-on * ****************************************************************************/ /* LINTLIBRARY */ @@ -95,8 +95,6 @@ void _nc_scroll_oldhash( /* ./base/lib_addch.c */ -#include - #undef _nc_render cchar_t _nc_render( WINDOW *win, @@ -256,8 +254,6 @@ int wclrtoeol( /* ./base/lib_color.c */ -#include - #undef _nc_COLOR_PAIRS int _nc_COLOR_PAIRS(void) { return(*(int *)0); } @@ -457,8 +453,6 @@ int flash(void) /* ./lib_gen.c */ -#include - #undef addch int (addch)( const chtype z) @@ -488,17 +482,17 @@ int (addstr)( #undef attroff int (attroff)( - int z) + NCURSES_ATTR_T z) { return(*(int *)0); } #undef attron int (attron)( - int z) + NCURSES_ATTR_T z) { return(*(int *)0); } #undef attrset int (attrset)( - int z) + NCURSES_ATTR_T z) { return(*(int *)0); } #undef attr_get @@ -1091,7 +1085,7 @@ int (vw_printw)( #undef vw_scanw int (vw_scanw)( WINDOW *a1, - char *a2, + const char *a2, va_list z) { return(*(int *)0); } @@ -1295,6 +1289,11 @@ NCURSES_BOOL (is_syncok)( const WINDOW *z) { return(*(NCURSES_BOOL *)0); } +#undef wgetdelay +int (wgetdelay)( + const WINDOW *z) + { return(*(int *)0); } + #undef wgetscrreg int (wgetscrreg)( const WINDOW *a1, @@ -1770,8 +1769,6 @@ NCURSES_BOOL (mouse_trafo)( /* ./base/lib_getch.c */ -#include - #undef _nc_ESCDELAY int _nc_ESCDELAY(void) { return(*(int *)0); } @@ -2111,22 +2108,20 @@ void nofilter(void) #undef newterm_sp SCREEN *newterm_sp( SCREEN *sp, - char *name, + const char *name, FILE *ofp, FILE *ifp) { return(*(SCREEN **)0); } #undef newterm SCREEN *newterm( - char *name, + const char *name, FILE *ofp, FILE *ifp) { return(*(SCREEN **)0); } /* ./base/lib_newwin.c */ -#include "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" - #undef _nc_freewin int _nc_freewin( WINDOW *win) @@ -2356,14 +2351,14 @@ int wnoutrefresh( #undef restartterm_sp int restartterm_sp( SCREEN *sp, - char *termp, + const char *termp, int filenum, int *errret) { return(*(int *)0); } #undef restartterm int restartterm( - char *termp, + const char *termp, int filenum, int *errret) { return(*(int *)0); } @@ -2373,20 +2368,20 @@ int restartterm( #undef vwscanw int vwscanw( WINDOW *win, - char *fmt, + const char *fmt, va_list argp) { return(*(int *)0); } #undef scanw int scanw( - char *fmt, + const char *fmt, ...) { return(*(int *)0); } #undef wscanw int wscanw( WINDOW *win, - char *fmt, + const char *fmt, ...) { return(*(int *)0); } @@ -2394,7 +2389,7 @@ int wscanw( int mvscanw( int y, int x, - char *fmt, + const char *fmt, ...) { return(*(int *)0); } @@ -2403,7 +2398,7 @@ int mvwscanw( WINDOW *win, int y, int x, - char *fmt, + const char *fmt, ...) { return(*(int *)0); } @@ -2725,8 +2720,6 @@ int slk_refresh(void) /* ./base/lib_slkset.c */ -#include - #undef slk_set_sp int slk_set_sp( SCREEN *sp, @@ -2784,6 +2777,12 @@ void _tracedump( /* ./trace/lib_tracemse.c */ +#undef _nc_trace_mmask_t +char *_nc_trace_mmask_t( + SCREEN *sp, + mmask_t code) + { return(*(char **)0); } + #undef _nc_tracemouse char *_nc_tracemouse( SCREEN *sp, @@ -2803,8 +2802,6 @@ char *_tracemouse( /* ./tty/lib_tstp.c */ -#include - #undef _nc_signal_handler void _nc_signal_handler( int enable) @@ -2965,9 +2962,6 @@ char *_nc_printf_string( /* ./tty/tty_update.c */ -#include -#include - #undef doupdate_sp int doupdate_sp( SCREEN *sp) @@ -3034,10 +3028,6 @@ void _nc_do_xmc_glitch( /* ./trace/varargs.c */ -typedef enum { - atUnknown = 0, atInteger, atFloat, atPoint, atString -} ARGTYPE; - #undef _nc_varargs char *_nc_varargs( const char *fmt, @@ -3227,9 +3217,9 @@ int winwstr( /* ./widechar/lib_key_name.c */ #undef key_name -char *key_name( +const char *key_name( wchar_t c) - { return(*(char **)0); } + { return(*(const char **)0); } /* ./widechar/lib_pecho_wchar.c */ @@ -3584,21 +3574,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) @@ -3682,8 +3670,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) @@ -3789,15 +3775,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) @@ -3820,10 +3797,8 @@ void _nc_init_acs(void) /* ./tinfo/lib_baudrate.c */ -#include - struct speed { - int s; + short s; int sp; }; @@ -3989,15 +3964,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 */ @@ -4195,10 +4170,6 @@ int intrflush( /* ./tinfo/lib_setup.c */ -#include -#include -#include - #undef _nc_ttytype char *_nc_ttytype(void) { return(*(char **)0); } @@ -4307,7 +4278,7 @@ int _nc_locale_breaks_acs( #undef _nc_setupterm int _nc_setupterm( - char *tname, + const char *tname, int Filedes, int *errret, int reuse) @@ -4319,7 +4290,7 @@ SCREEN *new_prescr(void) #undef setupterm int setupterm( - char *tname, + const char *tname, int Filedes, int *errret) { return(*(int *)0); } @@ -4338,12 +4309,6 @@ int tgetent_sp( const char *name) { return(*(int *)0); } -#if 0 - -#include - -#endif - #undef tgetent int tgetent( char *bufp, @@ -4353,35 +4318,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); } @@ -4410,34 +4375,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 */ @@ -4454,7 +4419,7 @@ int _nc_tparm_analyze( #undef tparm char *tparm( - char *string, + const char *string, ...) { return(*(char **)0); } @@ -4631,9 +4596,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( @@ -4719,11 +4684,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) @@ -4851,28 +4811,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 */ @@ -4891,8 +4851,6 @@ void _nc_set_buffer( /* ./tinfo/read_entry.c */ -#include - #undef _nc_init_termtype void _nc_init_termtype( TERMTYPE *const tp) @@ -4920,11 +4878,11 @@ int _nc_read_entry( /* ./tinfo/read_termcap.c */ -#include - -#undef _nc_read_termcap -void _nc_read_termcap(void) - { /* void */ } +#undef _nc_read_termcap_entry +int _nc_read_termcap_entry( + const char *const tn, + TERMTYPE *const tp) + { return(*(int *)0); } /* ./tinfo/strings.c */ @@ -5012,15 +4970,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 */ @@ -5228,16 +5186,11 @@ int _nc_capcmp( const char *t) { return(*(int *)0); } -typedef struct { - const char *from; - const char *to; -} assoc; - /* ./tinfo/write_entry.c */ #undef _nc_set_writedir void _nc_set_writedir( - char *dir) + const char *dir) { /* void */ } #undef _nc_write_entry