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