X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2FMKterm.h.awk.in;h=c315e2e1a216631f49bc35d0a347d4b8d3e7f4ad;hp=2c4c6d44eb3a08b260810486d1ccba3e85ea2598;hb=896224bea6196d73d03e39b1a266887d6f2cb6ff;hpb=ade723c546e6559187580c695f7f4637eac13125 diff --git a/include/MKterm.h.awk.in b/include/MKterm.h.awk.in index 2c4c6d44..c315e2e1 100644 --- a/include/MKterm.h.awk.in +++ b/include/MKterm.h.awk.in @@ -59,7 +59,7 @@ BEGIN { print "/* and: Thomas E. Dickey 1995-on */" print "/****************************************************************************/" print "" - print "/* $Id: MKterm.h.awk.in,v 1.70 2019/03/02 23:23:58 tom Exp $ */" + print "/* $Id: MKterm.h.awk.in,v 1.73 2019/12/21 18:29:09 tom Exp $ */" print "" print "/*" print "** term.h -- Definition of struct term" @@ -147,6 +147,10 @@ BEGIN { print "#define SET_TTY(fd, buf) stty(fd, buf)" print "#endif" print "" + print "#ifndef GCC_NORETURN" + print "#define GCC_NORETURN /* nothing */" + print "#endif" + print "" print "#define NAMESIZE 256" print "" print "/* The cast works because TERMTYPE is the first data in TERMINAL */" @@ -163,7 +167,11 @@ $2 == "%%-STOP-HERE-%%" { print "/* older synonyms for some capabilities */" print "#define beehive_glitch no_esc_ctlc" print "#define teleray_glitch dest_tabs_magic_smso" + print "" + print "/* HPUX-11 uses this name rather than the standard one */" + print "#ifndef micro_char_size" print "#define micro_char_size micro_col_size" + print "#endif" print "" print "#ifdef __INTERNAL_CAPS_VISIBLE" } @@ -294,12 +302,14 @@ END { print "" print "" print "/*" - print " * These entrypoints are used by tack." + print " * These entrypoints are used by tack 1.07." print " */" print "extern NCURSES_EXPORT(const TERMTYPE *) _nc_fallback (const char *);" print "extern NCURSES_EXPORT(int) _nc_read_entry (const char * const, char * const, TERMTYPE *const);" print "" - print "/* Normal entry points */" + print "/*" + print " * Normal entry points" + print " */" print "extern NCURSES_EXPORT(TERMINAL *) set_curterm (TERMINAL *);" print "extern NCURSES_EXPORT(int) del_curterm (TERMINAL *);" print "" @@ -367,6 +377,11 @@ END { print "extern NCURSES_EXPORT(int) NCURSES_SP_NAME(restartterm) (SCREEN*, NCURSES_CONST char *, int, int *);" print "#endif /* NCURSES_SP_FUNCS */" print "" + print "/*" + print " * Debugging features." + print " */" + print "extern NCURSES_EXPORT(void) exit_terminfo(int) GCC_NORETURN;" + print "" print "#ifdef __cplusplus" printf "%s\n", rcurl; print "#endif"