From b625433b5e5340e3b68f2060a591b7894023c913 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 24 Jan 1999 19:33:52 +0000 Subject: updates from ncurses-4.2-990123 --- usr.bin/tic/dump_entry.c | 10 +++++----- usr.bin/tic/tic.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'usr.bin/tic') diff --git a/usr.bin/tic/dump_entry.c b/usr.bin/tic/dump_entry.c index 7b547fd40a5..b255e1f2c27 100644 --- a/usr.bin/tic/dump_entry.c +++ b/usr.bin/tic/dump_entry.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dump_entry.c,v 1.2 1998/11/03 21:59:53 millert Exp $ */ +/* $OpenBSD: dump_entry.c,v 1.3 1999/01/24 19:33:51 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -40,7 +40,7 @@ #include /* this C file is generated */ #include /* so is this */ -MODULE_ID("$From: dump_entry.c,v 1.29 1998/09/26 13:15:00 tom Exp $") +MODULE_ID("$From: dump_entry.c,v 1.30 1999/01/24 02:44:40 Jeffrey.C.Honig Exp $") #define INDENT 8 @@ -91,7 +91,7 @@ NCURSES_CONST char *nametrans(const char *name) { const struct name_table_entry *np; - if ((np = _nc_find_entry(name, _nc_info_hash_table)) != 0) + if ((np = _nc_find_entry(name, _nc_get_hash_table(0))) != 0) switch(np->nte_type) { case BOOLEAN: @@ -167,7 +167,7 @@ void dump_init(const char *version, int mode, int sort, int twidth, int traceval /* implement sort modes */ switch(sortmode = sort) - { + { case S_NOSORT: if (traceval) (void) fprintf(stderr, @@ -757,7 +757,7 @@ int dump_entry(TERMTYPE *tterm, bool limited, bool numbers, int (*pred)(int type * is really just an optimization hack. */ char *oldsgr = set_attributes; - set_attributes = ABSENT_STRING; + set_attributes = ABSENT_STRING; (void) printf("# (sgr removed to fit entry within %d bytes)\n", critlen); if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen) diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c index 08d6da4394f..1b7911f4bb7 100644 --- a/usr.bin/tic/tic.c +++ b/usr.bin/tic/tic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tic.c,v 1.4 1999/01/18 18:57:52 millert Exp $ */ +/* $OpenBSD: tic.c,v 1.5 1999/01/24 19:33:51 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -44,7 +44,7 @@ #include #include -MODULE_ID("$Id: tic.c,v 1.4 1999/01/18 18:57:52 millert Exp $") +MODULE_ID("$From: tic.c,v 1.41 1999/01/24 02:55:48 tom Exp $") const char *_nc_progname = "tic"; @@ -155,7 +155,7 @@ static void write_it(ENTRY *ep) _nc_write_entry(&ep->tterm); } -static bool immedhook(ENTRY *ep) +static bool immedhook(ENTRY *ep GCC_UNUSED) /* write out entries with no use capabilities immediately to save storage */ { #ifndef HAVE_BIG_CORE -- cgit v1.2.3