diff options
author | peter <peter@FreeBSD.org> | 2000-10-11 07:31:01 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-10-11 07:31:01 +0000 |
commit | a81407a537bfd1ab9e48c69007eb6b30e66d271b (patch) | |
tree | 9ec00b41242bbe63b83c0ac5316c539466d9f9de /contrib/ncurses/progs/progs.priv.h | |
parent | cc6a5cc05f3c2cde24338d35c9714f1e7ebf032e (diff) | |
download | FreeBSD-src-a81407a537bfd1ab9e48c69007eb6b30e66d271b.zip FreeBSD-src-a81407a537bfd1ab9e48c69007eb6b30e66d271b.tar.gz |
Import ncurses-5.1-20001009 onto the vendor branch
Diffstat (limited to 'contrib/ncurses/progs/progs.priv.h')
-rw-r--r-- | contrib/ncurses/progs/progs.priv.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/ncurses/progs/progs.priv.h b/contrib/ncurses/progs/progs.priv.h index 2d22c9a..d704c09 100644 --- a/contrib/ncurses/progs/progs.priv.h +++ b/contrib/ncurses/progs/progs.priv.h @@ -30,7 +30,7 @@ * Author: Thomas E. Dickey <dickey@clark.net> 1997,1998 * ****************************************************************************/ /* - * $Id: progs.priv.h,v 1.22 2000/04/08 23:47:39 tom Exp $ + * $Id: progs.priv.h,v 1.24 2000/10/01 01:33:34 tom Exp $ * * progs.priv.h * @@ -39,7 +39,7 @@ #include <ncurses_cfg.h> -#ifdef USE_RCS_IDS +#if USE_RCS_IDS #define MODULE_ID(id) static const char Ident[] = id; #else #define MODULE_ID(id) /*nothing*/ @@ -162,7 +162,7 @@ extern int optind; /* We use isascii only to guard against use of 7-bit ctype tables in the * isprint test in infocmp. */ -#ifndef HAVE_ISASCII +#if !HAVE_ISASCII # undef isascii # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127) # define isascii(c) (((c) & 0xff) <= 127) @@ -170,3 +170,5 @@ extern int optind; # define isascii(c) 1 /* not really ascii anyway */ # endif #endif + +#define SIZEOF(v) (sizeof(v)/sizeof(v[0])) |