diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-24 19:33:52 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-24 19:33:52 +0000 |
commit | b625433b5e5340e3b68f2060a591b7894023c913 (patch) | |
tree | e22f4b0fee66d79b3afc9d456123ed9e280d6d40 /usr.bin/tic | |
parent | 394e10e4f80d42b6ab4d005517ab6a0959440701 (diff) |
updates from ncurses-4.2-990123
Diffstat (limited to 'usr.bin/tic')
-rw-r--r-- | usr.bin/tic/dump_entry.c | 10 | ||||
-rw-r--r-- | usr.bin/tic/tic.c | 6 |
2 files changed, 8 insertions, 8 deletions
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 <termsort.c> /* this C file is generated */ #include <parametrized.h> /* 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 <dump_entry.h> #include <term_entry.h> -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 |