1/****************************************************************************
2 * Copyright 2019,2020 Thomas E. Dickey                                     *
3 * Copyright 2013-2016,2017 Free Software Foundation, Inc.                  *
4 *                                                                          *
5 * Permission is hereby granted, free of charge, to any person obtaining a  *
6 * copy of this software and associated documentation files (the            *
7 * "Software"), to deal in the Software without restriction, including      *
8 * without limitation the rights to use, copy, modify, merge, publish,      *
9 * distribute, distribute with modifications, sublicense, and/or sell       *
10 * copies of the Software, and to permit persons to whom the Software is    *
11 * furnished to do so, subject to the following conditions:                 *
12 *                                                                          *
13 * The above copyright notice and this permission notice shall be included  *
14 * in all copies or substantial portions of the Software.                   *
15 *                                                                          *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
19 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
22 * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
23 *                                                                          *
24 * Except as contained in this notice, the name(s) of the above copyright   *
25 * holders shall not be used in advertising or otherwise to promote the     *
26 * sale, use or other dealings in this Software without prior written       *
27 * authorization.                                                           *
28 ****************************************************************************/
29
30/****************************************************************************
31 *  Author: Thomas E. Dickey       2013-on                                  *
32 ****************************************************************************/
33/* LINTLIBRARY */
34
35/* ./tinfo/access.c */
36
37#include <curses.priv.h>
38
39#undef _nc_rootname
40char	*_nc_rootname(
41		char	*path)
42		{ return(*(char **)0); }
43
44#undef _nc_is_abs_path
45NCURSES_BOOL _nc_is_abs_path(
46		const char *path)
47		{ return(*(NCURSES_BOOL *)0); }
48
49#undef _nc_pathlast
50unsigned _nc_pathlast(
51		const char *path)
52		{ return(*(unsigned *)0); }
53
54#undef _nc_basename
55char	*_nc_basename(
56		char	*path)
57		{ return(*(char **)0); }
58
59#undef _nc_access
60int	_nc_access(
61		const char *path,
62		int	mode)
63		{ return(*(int *)0); }
64
65#undef _nc_is_dir_path
66NCURSES_BOOL _nc_is_dir_path(
67		const char *path)
68		{ return(*(NCURSES_BOOL *)0); }
69
70#undef _nc_is_file_path
71NCURSES_BOOL _nc_is_file_path(
72		const char *path)
73		{ return(*(NCURSES_BOOL *)0); }
74
75#undef _nc_env_access
76int	_nc_env_access(void)
77		{ return(*(int *)0); }
78
79/* ./tinfo/add_tries.c */
80
81#undef _nc_add_to_try
82int	_nc_add_to_try(
83		TRIES	**tree,
84		const char *str,
85		unsigned code)
86		{ return(*(int *)0); }
87
88/* ./tinfo/alloc_ttype.c */
89
90#undef _nc_align_termtype
91void	_nc_align_termtype(
92		TERMTYPE2 *to,
93		TERMTYPE2 *from)
94		{ /* void */ }
95
96#undef _nc_copy_termtype
97void	_nc_copy_termtype(
98		TERMTYPE *dst,
99		const TERMTYPE *src)
100		{ /* void */ }
101
102/* ./codes.c */
103
104#undef _nc_boolcodes
105const char *const *_nc_boolcodes(void)
106		{ return(*(const char **)0); }
107
108#undef _nc_numcodes
109const char *const *_nc_numcodes(void)
110		{ return(*(const char **)0); }
111
112#undef _nc_strcodes
113const char *const *_nc_strcodes(void)
114		{ return(*(const char **)0); }
115
116/* ./comp_captab.c */
117
118#undef _nc_get_table
119const struct name_table_entry *_nc_get_table(
120		NCURSES_BOOL termcap)
121		{ return(*(const struct name_table_entry **)0); }
122
123#undef _nc_get_hash_table
124const HashValue *_nc_get_hash_table(
125		NCURSES_BOOL termcap)
126		{ return(*(const HashValue **)0); }
127
128#undef _nc_get_alias_table
129const struct alias *_nc_get_alias_table(
130		NCURSES_BOOL termcap)
131		{ return(*(const struct alias **)0); }
132
133#undef _nc_get_hash_info
134const HashData *_nc_get_hash_info(
135		NCURSES_BOOL termcap)
136		{ return(*(const HashData **)0); }
137
138/* ./tinfo/comp_error.c */
139
140#undef _nc_suppress_warnings
141NCURSES_BOOL _nc_suppress_warnings;
142#undef _nc_curr_line
143int	_nc_curr_line;
144#undef _nc_curr_col
145int	_nc_curr_col;
146
147#undef _nc_get_source
148const char *_nc_get_source(void)
149		{ return(*(const char **)0); }
150
151#undef _nc_set_source
152void	_nc_set_source(
153		const char *const name)
154		{ /* void */ }
155
156#undef _nc_set_type
157void	_nc_set_type(
158		const char *const name)
159		{ /* void */ }
160
161#undef _nc_get_type
162void	_nc_get_type(
163		char	*name)
164		{ /* void */ }
165
166#undef _nc_warning
167void	_nc_warning(
168		const char *const fmt,
169		...)
170		{ /* void */ }
171
172#undef _nc_err_abort
173void	_nc_err_abort(
174		const char *const fmt,
175		...)
176		{ /* void */ }
177
178#undef _nc_syserr_abort
179void	_nc_syserr_abort(
180		const char *const fmt,
181		...)
182		{ /* void */ }
183
184/* ./tinfo/comp_hash.c */
185
186#undef _nc_find_entry
187struct name_table_entry const *_nc_find_entry(
188		const char *string,
189		const HashValue *hash_table)
190		{ return(*(struct name_table_entry const **)0); }
191
192#undef _nc_find_type_entry
193struct name_table_entry const *_nc_find_type_entry(
194		const char *string,
195		int	type,
196		NCURSES_BOOL termcap)
197		{ return(*(struct name_table_entry const **)0); }
198
199#undef _nc_find_user_entry
200struct user_table_entry const *_nc_find_user_entry(
201		const char *string)
202		{ return(*(struct user_table_entry const **)0); }
203
204/* ./comp_userdefs.c */
205
206#undef _nc_get_userdefs_table
207const struct user_table_entry *_nc_get_userdefs_table(void)
208		{ return(*(const struct user_table_entry **)0); }
209
210#undef _nc_get_hash_user
211const HashData *_nc_get_hash_user(void)
212		{ return(*(const HashData **)0); }
213
214/* ./tinfo/db_iterator.c */
215
216#undef _nc_tic_dir
217const char *_nc_tic_dir(
218		const char *path)
219		{ return(*(const char **)0); }
220
221#undef _nc_keep_tic_dir
222void	_nc_keep_tic_dir(
223		const char *path)
224		{ /* void */ }
225
226#undef _nc_last_db
227void	_nc_last_db(void)
228		{ /* void */ }
229
230#undef _nc_next_db
231const char *_nc_next_db(
232		DBDIRS	*state,
233		int	*offset)
234		{ return(*(const char **)0); }
235
236#undef _nc_first_db
237void	_nc_first_db(
238		DBDIRS	*state,
239		int	*offset)
240		{ /* void */ }
241
242/* ./tinfo/doalloc.c */
243
244#undef _nc_doalloc
245void	*_nc_doalloc(
246		void	*oldp,
247		size_t	amount)
248		{ return(*(void **)0); }
249
250/* ./tinfo/entries.c */
251
252#undef _nc_head
253ENTRY	*_nc_head;
254#undef _nc_tail
255ENTRY	*_nc_tail;
256
257#undef _nc_free_entry
258void	_nc_free_entry(
259		ENTRY	*headp,
260		TERMTYPE2 *tterm)
261		{ /* void */ }
262
263#undef _nc_free_entries
264void	_nc_free_entries(
265		ENTRY	*headp)
266		{ /* void */ }
267
268#undef _nc_leaks_tinfo
269void	_nc_leaks_tinfo(void)
270		{ /* void */ }
271
272#undef exit_terminfo
273void	exit_terminfo(
274		int	code)
275		{ /* void */ }
276
277/* ./fallback.c */
278
279#undef _nc_fallback
280const TERMTYPE2 *_nc_fallback(
281		const char *name)
282		{ return(*(const TERMTYPE2 **)0); }
283
284/* ./tinfo/free_ttype.c */
285
286#undef _nc_free_termtype
287void	_nc_free_termtype(
288		TERMTYPE *ptr)
289		{ /* void */ }
290
291#undef _nc_user_definable
292NCURSES_BOOL _nc_user_definable;
293
294#undef use_extended_names
295int	use_extended_names(
296		NCURSES_BOOL flag)
297		{ return(*(int *)0); }
298
299/* ./tinfo/getenv_num.c */
300
301#undef _nc_getenv_num
302int	_nc_getenv_num(
303		const char *name)
304		{ return(*(int *)0); }
305
306#undef _nc_setenv_num
307void	_nc_setenv_num(
308		const char *name,
309		int	value)
310		{ /* void */ }
311
312/* ./tinfo/home_terminfo.c */
313
314#undef _nc_home_terminfo
315char	*_nc_home_terminfo(void)
316		{ return(*(char **)0); }
317
318/* ./tinfo/init_keytry.c */
319
320#undef _nc_init_keytry
321void	_nc_init_keytry(
322		SCREEN	*sp)
323		{ /* void */ }
324
325/* ./tinfo/lib_acs.c */
326
327#undef _nc_acs_map
328chtype	*_nc_acs_map(void)
329		{ return(*(chtype **)0); }
330
331#undef _nc_init_acs_sp
332void	_nc_init_acs_sp(
333		SCREEN	*sp)
334		{ /* void */ }
335
336#undef _nc_init_acs
337void	_nc_init_acs(void)
338		{ /* void */ }
339
340/* ./tinfo/lib_baudrate.c */
341
342struct speed {
343    int given_speed;
344    int actual_speed;
345};
346
347#undef _nc_baudrate
348int	_nc_baudrate(
349		int	OSpeed)
350		{ return(*(int *)0); }
351
352#undef _nc_ospeed
353int	_nc_ospeed(
354		int	BaudRate)
355		{ return(*(int *)0); }
356
357#undef baudrate_sp
358int	baudrate_sp(
359		SCREEN	*sp)
360		{ return(*(int *)0); }
361
362#undef baudrate
363int	baudrate(void)
364		{ return(*(int *)0); }
365
366/* ./tinfo/lib_cur_term.c */
367
368#undef _nc_get_cur_term_sp
369TERMINAL *_nc_get_cur_term_sp(
370		SCREEN	*sp)
371		{ return(*(TERMINAL **)0); }
372
373#undef _nc_get_cur_term
374TERMINAL *_nc_get_cur_term(void)
375		{ return(*(TERMINAL **)0); }
376
377#undef _nc_cur_term
378TERMINAL *_nc_cur_term(void)
379		{ return(*(TERMINAL **)0); }
380
381#undef set_curterm_sp
382TERMINAL *set_curterm_sp(
383		SCREEN	*sp,
384		TERMINAL *termp)
385		{ return(*(TERMINAL **)0); }
386
387#undef set_curterm
388TERMINAL *set_curterm(
389		TERMINAL *termp)
390		{ return(*(TERMINAL **)0); }
391
392#undef del_curterm_sp
393int	del_curterm_sp(
394		SCREEN	*sp,
395		TERMINAL *termp)
396		{ return(*(int *)0); }
397
398#undef del_curterm
399int	del_curterm(
400		TERMINAL *termp)
401		{ return(*(int *)0); }
402
403/* ./tinfo/lib_data.c */
404
405#undef _nc_stdscr
406WINDOW	*_nc_stdscr(void)
407		{ return(*(WINDOW **)0); }
408
409#undef _nc_curscr
410WINDOW	*_nc_curscr(void)
411		{ return(*(WINDOW **)0); }
412
413#undef _nc_newscr
414WINDOW	*_nc_newscr(void)
415		{ return(*(WINDOW **)0); }
416
417#undef _nc_screen_chain
418SCREEN	*_nc_screen_chain;
419#undef SP
420SCREEN	*SP;
421#undef _nc_globals
422NCURSES_GLOBALS _nc_globals;
423#undef _nc_prescreen
424NCURSES_PRESCREEN _nc_prescreen;
425
426#undef _nc_screen_of
427SCREEN	*_nc_screen_of(
428		WINDOW	*win)
429		{ return(*(SCREEN **)0); }
430
431#undef _nc_init_pthreads
432void	_nc_init_pthreads(void)
433		{ /* void */ }
434
435#undef _nc_mutex_init
436void	_nc_mutex_init(
437		pthread_mutex_t *obj)
438		{ /* void */ }
439
440#undef _nc_mutex_lock
441int	_nc_mutex_lock(
442		pthread_mutex_t *obj)
443		{ return(*(int *)0); }
444
445#undef _nc_mutex_trylock
446int	_nc_mutex_trylock(
447		pthread_mutex_t *obj)
448		{ return(*(int *)0); }
449
450#undef _nc_mutex_unlock
451int	_nc_mutex_unlock(
452		pthread_mutex_t *obj)
453		{ return(*(int *)0); }
454
455/* ./tinfo/lib_has_cap.c */
456
457#undef has_ic_sp
458NCURSES_BOOL has_ic_sp(
459		SCREEN	*sp)
460		{ return(*(NCURSES_BOOL *)0); }
461
462#undef has_ic
463NCURSES_BOOL has_ic(void)
464		{ return(*(NCURSES_BOOL *)0); }
465
466#undef has_il_sp
467NCURSES_BOOL has_il_sp(
468		SCREEN	*sp)
469		{ return(*(NCURSES_BOOL *)0); }
470
471#undef has_il
472NCURSES_BOOL has_il(void)
473		{ return(*(NCURSES_BOOL *)0); }
474
475/* ./tinfo/lib_kernel.c */
476
477#undef erasechar_sp
478char	erasechar_sp(
479		SCREEN	*sp)
480		{ return(*(char *)0); }
481
482#undef erasechar
483char	erasechar(void)
484		{ return(*(char *)0); }
485
486#undef killchar_sp
487char	killchar_sp(
488		SCREEN	*sp)
489		{ return(*(char *)0); }
490
491#undef killchar
492char	killchar(void)
493		{ return(*(char *)0); }
494
495#undef flushinp_sp
496int	flushinp_sp(
497		SCREEN	*sp)
498		{ return(*(int *)0); }
499
500#undef flushinp
501int	flushinp(void)
502		{ return(*(int *)0); }
503
504/* ./lib_keyname.c */
505
506struct kn { short offset; int code; };
507
508#undef keyname_sp
509const char *keyname_sp(
510		SCREEN	*sp,
511		int	c)
512		{ return(*(const char **)0); }
513
514#undef keyname
515const char *keyname(
516		int	c)
517		{ return(*(const char **)0); }
518
519/* ./tinfo/lib_longname.c */
520
521#undef longname_sp
522char	*longname_sp(
523		SCREEN	*sp)
524		{ return(*(char **)0); }
525
526#undef longname
527char	*longname(void)
528		{ return(*(char **)0); }
529
530/* ./tinfo/lib_napms.c */
531
532#undef napms_sp
533int	napms_sp(
534		SCREEN	*sp,
535		int	ms)
536		{ return(*(int *)0); }
537
538#undef napms
539int	napms(
540		int	ms)
541		{ return(*(int *)0); }
542
543/* ./tinfo/lib_options.c */
544
545#undef idlok
546int	idlok(
547		WINDOW	*win,
548		NCURSES_BOOL flag)
549		{ return(*(int *)0); }
550
551#undef idcok
552void	idcok(
553		WINDOW	*win,
554		NCURSES_BOOL flag)
555		{ /* void */ }
556
557#undef halfdelay_sp
558int	halfdelay_sp(
559		SCREEN	*sp,
560		int	t)
561		{ return(*(int *)0); }
562
563#undef halfdelay
564int	halfdelay(
565		int	t)
566		{ return(*(int *)0); }
567
568#undef nodelay
569int	nodelay(
570		WINDOW	*win,
571		NCURSES_BOOL flag)
572		{ return(*(int *)0); }
573
574#undef notimeout
575int	notimeout(
576		WINDOW	*win,
577		NCURSES_BOOL f)
578		{ return(*(int *)0); }
579
580#undef wtimeout
581void	wtimeout(
582		WINDOW	*win,
583		int	delay)
584		{ /* void */ }
585
586#undef keypad
587int	keypad(
588		WINDOW	*win,
589		NCURSES_BOOL flag)
590		{ return(*(int *)0); }
591
592#undef meta
593int	meta(
594		WINDOW	*win,
595		NCURSES_BOOL flag)
596		{ return(*(int *)0); }
597
598#undef curs_set_sp
599int	curs_set_sp(
600		SCREEN	*sp,
601		int	vis)
602		{ return(*(int *)0); }
603
604#undef curs_set
605int	curs_set(
606		int	vis)
607		{ return(*(int *)0); }
608
609#undef typeahead_sp
610int	typeahead_sp(
611		SCREEN	*sp,
612		int	fd)
613		{ return(*(int *)0); }
614
615#undef typeahead
616int	typeahead(
617		int	fd)
618		{ return(*(int *)0); }
619
620#undef has_key_sp
621int	has_key_sp(
622		SCREEN	*sp,
623		int	keycode)
624		{ return(*(int *)0); }
625
626#undef has_key
627int	has_key(
628		int	keycode)
629		{ return(*(int *)0); }
630
631#undef _nc_putp_flush_sp
632int	_nc_putp_flush_sp(
633		SCREEN	*sp,
634		const char *name,
635		const char *value)
636		{ return(*(int *)0); }
637
638#undef _nc_keypad
639int	_nc_keypad(
640		SCREEN	*sp,
641		int	flag)
642		{ return(*(int *)0); }
643
644/* ./tinfo/lib_raw.c */
645
646#undef raw_sp
647int	raw_sp(
648		SCREEN	*sp)
649		{ return(*(int *)0); }
650
651#undef raw
652int	raw(void)
653		{ return(*(int *)0); }
654
655#undef cbreak_sp
656int	cbreak_sp(
657		SCREEN	*sp)
658		{ return(*(int *)0); }
659
660#undef cbreak
661int	cbreak(void)
662		{ return(*(int *)0); }
663
664#undef qiflush_sp
665void	qiflush_sp(
666		SCREEN	*sp)
667		{ /* void */ }
668
669#undef qiflush
670void	qiflush(void)
671		{ /* void */ }
672
673#undef noraw_sp
674int	noraw_sp(
675		SCREEN	*sp)
676		{ return(*(int *)0); }
677
678#undef noraw
679int	noraw(void)
680		{ return(*(int *)0); }
681
682#undef nocbreak_sp
683int	nocbreak_sp(
684		SCREEN	*sp)
685		{ return(*(int *)0); }
686
687#undef nocbreak
688int	nocbreak(void)
689		{ return(*(int *)0); }
690
691#undef noqiflush_sp
692void	noqiflush_sp(
693		SCREEN	*sp)
694		{ /* void */ }
695
696#undef noqiflush
697void	noqiflush(void)
698		{ /* void */ }
699
700#undef intrflush_sp
701int	intrflush_sp(
702		SCREEN	*sp,
703		WINDOW	*win,
704		NCURSES_BOOL flag)
705		{ return(*(int *)0); }
706
707#undef intrflush
708int	intrflush(
709		WINDOW	*win,
710		NCURSES_BOOL flag)
711		{ return(*(int *)0); }
712
713/* ./tinfo/lib_setup.c */
714
715#undef _nc_ttytype
716char	*_nc_ttytype(void)
717		{ return(*(char **)0); }
718
719#undef _nc_ptr_Lines
720int	*_nc_ptr_Lines(
721		SCREEN	*sp)
722		{ return(*(int **)0); }
723
724#undef _nc_LINES
725int	_nc_LINES(void)
726		{ return(*(int *)0); }
727
728#undef _nc_ptr_Cols
729int	*_nc_ptr_Cols(
730		SCREEN	*sp)
731		{ return(*(int **)0); }
732
733#undef _nc_COLS
734int	_nc_COLS(void)
735		{ return(*(int *)0); }
736
737#undef _nc_ptr_Tabsize
738int	*_nc_ptr_Tabsize(
739		SCREEN	*sp)
740		{ return(*(int **)0); }
741
742#undef _nc_TABSIZE
743int	_nc_TABSIZE(void)
744		{ return(*(int *)0); }
745
746#undef set_tabsize_sp
747int	set_tabsize_sp(
748		SCREEN	*sp,
749		int	value)
750		{ return(*(int *)0); }
751
752#undef set_tabsize
753int	set_tabsize(
754		int	value)
755		{ return(*(int *)0); }
756
757#undef _nc_handle_sigwinch
758int	_nc_handle_sigwinch(
759		SCREEN	*sp)
760		{ return(*(int *)0); }
761
762#undef use_env_sp
763void	use_env_sp(
764		SCREEN	*sp,
765		NCURSES_BOOL f)
766		{ /* void */ }
767
768#undef use_tioctl_sp
769void	use_tioctl_sp(
770		SCREEN	*sp,
771		NCURSES_BOOL f)
772		{ /* void */ }
773
774#undef use_env
775void	use_env(
776		NCURSES_BOOL f)
777		{ /* void */ }
778
779#undef use_tioctl
780void	use_tioctl(
781		NCURSES_BOOL f)
782		{ /* void */ }
783
784#undef _nc_get_screensize
785void	_nc_get_screensize(
786		SCREEN	*sp,
787		int	*linep,
788		int	*colp)
789		{ /* void */ }
790
791#undef _nc_update_screensize
792void	_nc_update_screensize(
793		SCREEN	*sp)
794		{ /* void */ }
795
796#undef _nc_setup_tinfo
797int	_nc_setup_tinfo(
798		const char *const tn,
799		TERMTYPE2 *const tp)
800		{ return(*(int *)0); }
801
802#undef _nc_tinfo_cmdch
803void	_nc_tinfo_cmdch(
804		TERMINAL *termp,
805		int	proto)
806		{ /* void */ }
807
808#undef _nc_get_locale
809char	*_nc_get_locale(void)
810		{ return(*(char **)0); }
811
812#undef _nc_unicode_locale
813int	_nc_unicode_locale(void)
814		{ return(*(int *)0); }
815
816#undef _nc_locale_breaks_acs
817int	_nc_locale_breaks_acs(
818		TERMINAL *termp)
819		{ return(*(int *)0); }
820
821#undef _nc_setupterm
822int	_nc_setupterm(
823		const char *tname,
824		int	Filedes,
825		int	*errret,
826		int	reuse)
827		{ return(*(int *)0); }
828
829#undef _nc_find_prescr
830SCREEN	*_nc_find_prescr(void)
831		{ return(*(SCREEN **)0); }
832
833#undef _nc_forget_prescr
834void	_nc_forget_prescr(void)
835		{ /* void */ }
836
837#undef new_prescr
838SCREEN	*new_prescr(void)
839		{ return(*(SCREEN **)0); }
840
841#undef setupterm
842int	setupterm(
843		const char *tname,
844		int	Filedes,
845		int	*errret)
846		{ return(*(int *)0); }
847
848/* ./tinfo/lib_termcap.c */
849
850#undef UP
851char	*UP;
852#undef BC
853char	*BC;
854
855#undef tgetent_sp
856int	tgetent_sp(
857		SCREEN	*sp,
858		char	*bufp,
859		const char *name)
860		{ return(*(int *)0); }
861
862#undef tgetent
863int	tgetent(
864		char	*bufp,
865		const char *name)
866		{ return(*(int *)0); }
867
868#undef tgetflag_sp
869int	tgetflag_sp(
870		SCREEN	*sp,
871		const char *id)
872		{ return(*(int *)0); }
873
874#undef tgetflag
875int	tgetflag(
876		const char *id)
877		{ return(*(int *)0); }
878
879#undef tgetnum_sp
880int	tgetnum_sp(
881		SCREEN	*sp,
882		const char *id)
883		{ return(*(int *)0); }
884
885#undef tgetnum
886int	tgetnum(
887		const char *id)
888		{ return(*(int *)0); }
889
890#undef tgetstr_sp
891char	*tgetstr_sp(
892		SCREEN	*sp,
893		const char *id,
894		char	**area)
895		{ return(*(char **)0); }
896
897#undef tgetstr
898char	*tgetstr(
899		const char *id,
900		char	**area)
901		{ return(*(char **)0); }
902
903/* ./tinfo/lib_termname.c */
904
905#undef termname_sp
906char	*termname_sp(
907		SCREEN	*sp)
908		{ return(*(char **)0); }
909
910#undef termname
911char	*termname(void)
912		{ return(*(char **)0); }
913
914/* ./tinfo/lib_tgoto.c */
915
916#undef tgoto
917char	*tgoto(
918		const char *string,
919		int	x,
920		int	y)
921		{ return(*(char **)0); }
922
923/* ./tinfo/lib_ti.c */
924
925#undef tigetflag_sp
926int	tigetflag_sp(
927		SCREEN	*sp,
928		const char *str)
929		{ return(*(int *)0); }
930
931#undef tigetflag
932int	tigetflag(
933		const char *str)
934		{ return(*(int *)0); }
935
936#undef tigetnum_sp
937int	tigetnum_sp(
938		SCREEN	*sp,
939		const char *str)
940		{ return(*(int *)0); }
941
942#undef tigetnum
943int	tigetnum(
944		const char *str)
945		{ return(*(int *)0); }
946
947#undef tigetstr_sp
948char	*tigetstr_sp(
949		SCREEN	*sp,
950		const char *str)
951		{ return(*(char **)0); }
952
953#undef tigetstr
954char	*tigetstr(
955		const char *str)
956		{ return(*(char **)0); }
957
958/* ./tinfo/lib_tparm.c */
959
960#undef _nc_tparm_err
961int	_nc_tparm_err;
962
963#undef _nc_tparm_analyze
964int	_nc_tparm_analyze(
965		const char *string,
966		char	*p_is_s[9],
967		int	*_nc_popcount)
968		{ return(*(int *)0); }
969
970#undef tparm
971char	*tparm(
972		const char *string,
973		...)
974		{ return(*(char **)0); }
975
976#undef tiparm
977char	*tiparm(
978		const char *string,
979		...)
980		{ return(*(char **)0); }
981
982#undef _nc_tiparm
983char	*_nc_tiparm(
984		int	expected,
985		const char *string,
986		...)
987		{ return(*(char **)0); }
988
989/* ./tinfo/lib_tputs.c */
990
991#undef PC
992char	PC;
993#undef ospeed
994short	ospeed;
995#undef _nc_nulls_sent
996int	_nc_nulls_sent;
997
998#undef _nc_set_no_padding
999void	_nc_set_no_padding(
1000		SCREEN	*sp)
1001		{ /* void */ }
1002
1003#undef delay_output_sp
1004int	delay_output_sp(
1005		SCREEN	*sp,
1006		int	ms)
1007		{ return(*(int *)0); }
1008
1009#undef delay_output
1010int	delay_output(
1011		int	ms)
1012		{ return(*(int *)0); }
1013
1014#undef _nc_flush_sp
1015void	_nc_flush_sp(
1016		SCREEN	*sp)
1017		{ /* void */ }
1018
1019#undef _nc_flush
1020void	_nc_flush(void)
1021		{ /* void */ }
1022
1023#undef _nc_outch_sp
1024int	_nc_outch_sp(
1025		SCREEN	*sp,
1026		int	ch)
1027		{ return(*(int *)0); }
1028
1029#undef _nc_outch
1030int	_nc_outch(
1031		int	ch)
1032		{ return(*(int *)0); }
1033
1034#undef _nc_putchar_sp
1035int	_nc_putchar_sp(
1036		SCREEN	*sp,
1037		int	ch)
1038		{ return(*(int *)0); }
1039
1040#undef _nc_putchar
1041int	_nc_putchar(
1042		int	ch)
1043		{ return(*(int *)0); }
1044
1045#undef putp_sp
1046int	putp_sp(
1047		SCREEN	*sp,
1048		const char *string)
1049		{ return(*(int *)0); }
1050
1051#undef putp
1052int	putp(
1053		const char *string)
1054		{ return(*(int *)0); }
1055
1056#undef _nc_putp_sp
1057int	_nc_putp_sp(
1058		SCREEN	*sp,
1059		const char *name,
1060		const char *string)
1061		{ return(*(int *)0); }
1062
1063#undef _nc_putp
1064int	_nc_putp(
1065		const char *name,
1066		const char *string)
1067		{ return(*(int *)0); }
1068
1069#undef tputs_sp
1070int	tputs_sp(
1071		SCREEN	*sp,
1072		const char *string,
1073		int	affcnt,
1074		NCURSES_OUTC_sp outc)
1075		{ return(*(int *)0); }
1076
1077#undef _nc_outc_wrapper
1078int	_nc_outc_wrapper(
1079		SCREEN	*sp,
1080		int	c)
1081		{ return(*(int *)0); }
1082
1083#undef tputs
1084int	tputs(
1085		const char *string,
1086		int	affcnt,
1087		int	(*outc)(
1088		int	p1))
1089		{ return(*(int *)0); }
1090
1091/* ./trace/lib_trace.c */
1092
1093#undef _nc_tracing
1094unsigned _nc_tracing;
1095
1096#undef _nc__nc_tputs_trace
1097const char *_nc__nc_tputs_trace(void)
1098		{ return(*(const char **)0); }
1099
1100#undef _nc__nc_outchars
1101long	_nc__nc_outchars(void)
1102		{ return(*(long *)0); }
1103
1104#undef _nc_set_tputs_trace
1105void	_nc_set_tputs_trace(
1106		const char *s)
1107		{ /* void */ }
1108
1109#undef _nc_count_outchars
1110void	_nc_count_outchars(
1111		long	increment)
1112		{ /* void */ }
1113
1114#undef curses_trace
1115unsigned curses_trace(
1116		unsigned tracelevel)
1117		{ return(*(unsigned *)0); }
1118
1119#undef trace
1120void	trace(
1121		const unsigned int tracelevel)
1122		{ /* void */ }
1123
1124#undef _tracef
1125void	_tracef(
1126		const char *fmt,
1127		...)
1128		{ /* void */ }
1129
1130#undef _nc_retrace_bool
1131NCURSES_BOOL _nc_retrace_bool(
1132		int	code)
1133		{ return(*(NCURSES_BOOL *)0); }
1134
1135#undef _nc_retrace_char
1136char	_nc_retrace_char(
1137		int	code)
1138		{ return(*(char *)0); }
1139
1140#undef _nc_retrace_int
1141int	_nc_retrace_int(
1142		int	code)
1143		{ return(*(int *)0); }
1144
1145#undef _nc_retrace_unsigned
1146unsigned _nc_retrace_unsigned(
1147		unsigned code)
1148		{ return(*(unsigned *)0); }
1149
1150#undef _nc_retrace_ptr
1151char	*_nc_retrace_ptr(
1152		char	*code)
1153		{ return(*(char **)0); }
1154
1155#undef _nc_retrace_cptr
1156const char *_nc_retrace_cptr(
1157		const char *code)
1158		{ return(*(const char **)0); }
1159
1160#undef _nc_retrace_cvoid_ptr
1161const void *_nc_retrace_cvoid_ptr(
1162		const void *code)
1163		{ return(*(const void **)0); }
1164
1165#undef _nc_retrace_void_ptr
1166void	*_nc_retrace_void_ptr(
1167		void	*code)
1168		{ return(*(void **)0); }
1169
1170#undef _nc_retrace_sp
1171SCREEN	*_nc_retrace_sp(
1172		SCREEN	*code)
1173		{ return(*(SCREEN **)0); }
1174
1175#undef _nc_retrace_win
1176WINDOW	*_nc_retrace_win(
1177		WINDOW	*code)
1178		{ return(*(WINDOW **)0); }
1179
1180#undef _nc_fmt_funcptr
1181char	*_nc_fmt_funcptr(
1182		char	*target,
1183		const char *source,
1184		size_t	size)
1185		{ return(*(char **)0); }
1186
1187#undef _nc_use_tracef
1188int	_nc_use_tracef(
1189		unsigned mask)
1190		{ return(*(int *)0); }
1191
1192#undef _nc_locked_tracef
1193void	_nc_locked_tracef(
1194		const char *fmt,
1195		...)
1196		{ /* void */ }
1197
1198/* ./trace/lib_traceatr.c */
1199
1200#undef _traceattr2
1201char	*_traceattr2(
1202		int	bufnum,
1203		chtype	newmode)
1204		{ return(*(char **)0); }
1205
1206#undef _traceattr
1207char	*_traceattr(
1208		attr_t	newmode)
1209		{ return(*(char **)0); }
1210
1211#undef _nc_retrace_int_attr_t
1212int	_nc_retrace_int_attr_t(
1213		attr_t	code)
1214		{ return(*(int *)0); }
1215
1216#undef _nc_retrace_attr_t
1217attr_t	_nc_retrace_attr_t(
1218		attr_t	code)
1219		{ return(*(attr_t *)0); }
1220
1221#undef _nc_altcharset_name
1222const char *_nc_altcharset_name(
1223		attr_t	attr,
1224		chtype	ch)
1225		{ return(*(const char **)0); }
1226
1227#undef _tracechtype2
1228char	*_tracechtype2(
1229		int	bufnum,
1230		chtype	ch)
1231		{ return(*(char **)0); }
1232
1233#undef _tracechtype
1234char	*_tracechtype(
1235		chtype	ch)
1236		{ return(*(char **)0); }
1237
1238#undef _nc_retrace_chtype
1239chtype	_nc_retrace_chtype(
1240		chtype	code)
1241		{ return(*(chtype *)0); }
1242
1243/* ./trace/lib_tracebits.c */
1244
1245#undef _nc_trace_ttymode
1246char	*_nc_trace_ttymode(
1247		struct termios *tty)
1248		{ return(*(char **)0); }
1249
1250#undef _nc_tracebits
1251char	*_nc_tracebits(void)
1252		{ return(*(char **)0); }
1253
1254/* ./trace/lib_tracechr.c */
1255
1256#undef _nc_tracechar
1257char	*_nc_tracechar(
1258		SCREEN	*sp,
1259		int	ch)
1260		{ return(*(char **)0); }
1261
1262#undef _tracechar
1263char	*_tracechar(
1264		int	ch)
1265		{ return(*(char **)0); }
1266
1267/* ./tinfo/lib_ttyflags.c */
1268
1269#undef _nc_get_tty_mode_sp
1270int	_nc_get_tty_mode_sp(
1271		SCREEN	*sp,
1272		struct termios *buf)
1273		{ return(*(int *)0); }
1274
1275#undef _nc_get_tty_mode
1276int	_nc_get_tty_mode(
1277		struct termios *buf)
1278		{ return(*(int *)0); }
1279
1280#undef _nc_set_tty_mode_sp
1281int	_nc_set_tty_mode_sp(
1282		SCREEN	*sp,
1283		struct termios *buf)
1284		{ return(*(int *)0); }
1285
1286#undef _nc_set_tty_mode
1287int	_nc_set_tty_mode(
1288		struct termios *buf)
1289		{ return(*(int *)0); }
1290
1291#undef def_shell_mode_sp
1292int	def_shell_mode_sp(
1293		SCREEN	*sp)
1294		{ return(*(int *)0); }
1295
1296#undef def_shell_mode
1297int	def_shell_mode(void)
1298		{ return(*(int *)0); }
1299
1300#undef def_prog_mode_sp
1301int	def_prog_mode_sp(
1302		SCREEN	*sp)
1303		{ return(*(int *)0); }
1304
1305#undef def_prog_mode
1306int	def_prog_mode(void)
1307		{ return(*(int *)0); }
1308
1309#undef reset_prog_mode_sp
1310int	reset_prog_mode_sp(
1311		SCREEN	*sp)
1312		{ return(*(int *)0); }
1313
1314#undef reset_prog_mode
1315int	reset_prog_mode(void)
1316		{ return(*(int *)0); }
1317
1318#undef reset_shell_mode_sp
1319int	reset_shell_mode_sp(
1320		SCREEN	*sp)
1321		{ return(*(int *)0); }
1322
1323#undef reset_shell_mode
1324int	reset_shell_mode(void)
1325		{ return(*(int *)0); }
1326
1327#undef savetty_sp
1328int	savetty_sp(
1329		SCREEN	*sp)
1330		{ return(*(int *)0); }
1331
1332#undef savetty
1333int	savetty(void)
1334		{ return(*(int *)0); }
1335
1336#undef resetty_sp
1337int	resetty_sp(
1338		SCREEN	*sp)
1339		{ return(*(int *)0); }
1340
1341#undef resetty
1342int	resetty(void)
1343		{ return(*(int *)0); }
1344
1345/* ./tty/lib_twait.c */
1346
1347#undef _nc_timed_wait
1348int	_nc_timed_wait(
1349		SCREEN	*sp,
1350		int	mode,
1351		int	milliseconds,
1352		int	*timeleft)
1353		{ return(*(int *)0); }
1354
1355/* ./tinfo/name_match.c */
1356
1357#undef _nc_first_name
1358char	*_nc_first_name(
1359		const char *const sp)
1360		{ return(*(char **)0); }
1361
1362#undef _nc_name_match
1363int	_nc_name_match(
1364		const char *const namelst,
1365		const char *const name,
1366		const char *const delim)
1367		{ return(*(int *)0); }
1368
1369/* ./names.c */
1370
1371#undef _nc_boolnames
1372const char *const *_nc_boolnames(void)
1373		{ return(*(const char **)0); }
1374
1375#undef _nc_boolfnames
1376const char *const *_nc_boolfnames(void)
1377		{ return(*(const char **)0); }
1378
1379#undef _nc_numnames
1380const char *const *_nc_numnames(void)
1381		{ return(*(const char **)0); }
1382
1383#undef _nc_numfnames
1384const char *const *_nc_numfnames(void)
1385		{ return(*(const char **)0); }
1386
1387#undef _nc_strnames
1388const char *const *_nc_strnames(void)
1389		{ return(*(const char **)0); }
1390
1391#undef _nc_strfnames
1392const char *const *_nc_strfnames(void)
1393		{ return(*(const char **)0); }
1394
1395/* ./tinfo/obsolete.c */
1396
1397#undef _nc_set_buffer_sp
1398void	_nc_set_buffer_sp(
1399		SCREEN	*sp,
1400		FILE	*ofp,
1401		int	buffered)
1402		{ /* void */ }
1403
1404#undef _nc_set_buffer
1405void	_nc_set_buffer(
1406		FILE	*ofp,
1407		int	buffered)
1408		{ /* void */ }
1409
1410/* ./tinfo/read_entry.c */
1411
1412#undef _nc_init_termtype
1413void	_nc_init_termtype(
1414		TERMTYPE2 *const tp)
1415		{ /* void */ }
1416
1417#undef _nc_read_termtype
1418int	_nc_read_termtype(
1419		TERMTYPE2 *ptr,
1420		char	*buffer,
1421		int	limit)
1422		{ return(*(int *)0); }
1423
1424#undef _nc_read_file_entry
1425int	_nc_read_file_entry(
1426		const char *const filename,
1427		TERMTYPE2 *ptr)
1428		{ return(*(int *)0); }
1429
1430#undef _nc_read_entry
1431int	_nc_read_entry(
1432		const char *const name,
1433		char	*const filename,
1434		TERMTYPE2 *const tp)
1435		{ return(*(int *)0); }
1436
1437/* ./tinfo/read_termcap.c */
1438
1439#undef _nc_read_termcap
1440void	_nc_read_termcap(void)
1441		{ /* void */ }
1442
1443/* ./tinfo/strings.c */
1444
1445#undef _nc_str_init
1446string_desc *_nc_str_init(
1447		string_desc *dst,
1448		char	*src,
1449		size_t	len)
1450		{ return(*(string_desc **)0); }
1451
1452#undef _nc_str_null
1453string_desc *_nc_str_null(
1454		string_desc *dst,
1455		size_t	len)
1456		{ return(*(string_desc **)0); }
1457
1458#undef _nc_str_copy
1459string_desc *_nc_str_copy(
1460		string_desc *dst,
1461		string_desc *src)
1462		{ return(*(string_desc **)0); }
1463
1464#undef _nc_safe_strcat
1465NCURSES_BOOL _nc_safe_strcat(
1466		string_desc *dst,
1467		const char *src)
1468		{ return(*(NCURSES_BOOL *)0); }
1469
1470#undef _nc_safe_strcpy
1471NCURSES_BOOL _nc_safe_strcpy(
1472		string_desc *dst,
1473		const char *src)
1474		{ return(*(NCURSES_BOOL *)0); }
1475
1476/* ./trace/trace_buf.c */
1477
1478#undef _nc_trace_buf
1479char	*_nc_trace_buf(
1480		int	bufnum,
1481		size_t	want)
1482		{ return(*(char **)0); }
1483
1484#undef _nc_trace_bufcat
1485char	*_nc_trace_bufcat(
1486		int	bufnum,
1487		const char *value)
1488		{ return(*(char **)0); }
1489
1490/* ./trace/trace_tries.c */
1491
1492#undef _nc_trace_tries
1493void	_nc_trace_tries(
1494		TRIES	*tree)
1495		{ /* void */ }
1496
1497/* ./base/tries.c */
1498
1499#undef _nc_expand_try
1500char	*_nc_expand_try(
1501		TRIES	*tree,
1502		unsigned code,
1503		int	*count,
1504		size_t	len)
1505		{ return(*(char **)0); }
1506
1507#undef _nc_remove_key
1508int	_nc_remove_key(
1509		TRIES	**tree,
1510		unsigned code)
1511		{ return(*(int *)0); }
1512
1513#undef _nc_remove_string
1514int	_nc_remove_string(
1515		TRIES	**tree,
1516		const char *string)
1517		{ return(*(int *)0); }
1518
1519/* ./tinfo/trim_sgr0.c */
1520
1521#undef _nc_trim_sgr0
1522char	*_nc_trim_sgr0(
1523		TERMTYPE2 *tp)
1524		{ return(*(char **)0); }
1525
1526/* ./unctrl.c */
1527
1528#undef unctrl_sp
1529const char *unctrl_sp(
1530		SCREEN	*sp,
1531		chtype	ch)
1532		{ return(*(const char **)0); }
1533
1534#undef unctrl
1535const char *unctrl(
1536		chtype	ch)
1537		{ return(*(const char **)0); }
1538
1539/* ./trace/visbuf.c */
1540
1541#undef _nc_visbuf2
1542const char *_nc_visbuf2(
1543		int	bufnum,
1544		const char *buf)
1545		{ return(*(const char **)0); }
1546
1547#undef _nc_visbuf
1548const char *_nc_visbuf(
1549		const char *buf)
1550		{ return(*(const char **)0); }
1551
1552#undef _nc_visbufn
1553const char *_nc_visbufn(
1554		const char *buf,
1555		int	len)
1556		{ return(*(const char **)0); }
1557
1558#undef _nc_viscbuf2
1559const char *_nc_viscbuf2(
1560		int	bufnum,
1561		const chtype *buf,
1562		int	len)
1563		{ return(*(const char **)0); }
1564
1565#undef _nc_viscbuf
1566const char *_nc_viscbuf(
1567		const chtype *buf,
1568		int	len)
1569		{ return(*(const char **)0); }
1570
1571/* ./base/define_key.c */
1572
1573#undef define_key_sp
1574int	define_key_sp(
1575		SCREEN	*sp,
1576		const char *str,
1577		int	keycode)
1578		{ return(*(int *)0); }
1579
1580#undef define_key
1581int	define_key(
1582		const char *str,
1583		int	keycode)
1584		{ return(*(int *)0); }
1585
1586/* ./tinfo/hashed_db.c */
1587
1588#undef _nc_hashed_db
1589void	_nc_hashed_db(void)
1590		{ /* void */ }
1591
1592/* ./base/key_defined.c */
1593
1594#undef key_defined_sp
1595int	key_defined_sp(
1596		SCREEN	*sp,
1597		const char *str)
1598		{ return(*(int *)0); }
1599
1600#undef key_defined
1601int	key_defined(
1602		const char *str)
1603		{ return(*(int *)0); }
1604
1605/* ./base/keybound.c */
1606
1607#undef keybound_sp
1608char	*keybound_sp(
1609		SCREEN	*sp,
1610		int	code,
1611		int	count)
1612		{ return(*(char **)0); }
1613
1614#undef keybound
1615char	*keybound(
1616		int	code,
1617		int	count)
1618		{ return(*(char **)0); }
1619
1620/* ./base/keyok.c */
1621
1622#undef keyok_sp
1623int	keyok_sp(
1624		SCREEN	*sp,
1625		int	c,
1626		NCURSES_BOOL flag)
1627		{ return(*(int *)0); }
1628
1629#undef keyok
1630int	keyok(
1631		int	c,
1632		NCURSES_BOOL flag)
1633		{ return(*(int *)0); }
1634
1635/* ./base/version.c */
1636
1637#undef curses_version
1638const char *curses_version(void)
1639		{ return(*(const char **)0); }
1640