=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tic/progs.priv.h,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/tic/progs.priv.h 2000/06/19 03:53:59 1.6 --- src/usr.bin/tic/progs.priv.h 2000/10/08 22:47:10 1.7 *************** *** 1,4 **** ! /* $OpenBSD: progs.priv.h,v 1.6 2000/06/19 03:53:59 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998-2000 Free Software Foundation, Inc. * --- 1,4 ---- ! /* $OpenBSD: progs.priv.h,v 1.7 2000/10/08 22:47:10 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998-2000 Free Software Foundation, Inc. * *************** *** 32,38 **** * Author: Thomas E. Dickey 1997,1998 * ****************************************************************************/ /* ! * $From: progs.priv.h,v 1.22 2000/04/08 23:47:39 tom Exp $ * * progs.priv.h * --- 32,38 ---- * Author: Thomas E. Dickey 1997,1998 * ****************************************************************************/ /* ! * $From: progs.priv.h,v 1.24 2000/10/01 01:33:34 tom Exp $ * * progs.priv.h * *************** *** 41,47 **** #include ! #ifdef USE_RCS_IDS #define MODULE_ID(id) static const char Ident[] = id; #else #define MODULE_ID(id) /*nothing*/ --- 41,47 ---- #include ! #if USE_RCS_IDS #define MODULE_ID(id) static const char Ident[] = id; #else #define MODULE_ID(id) /*nothing*/ *************** *** 164,170 **** /* We use isascii only to guard against use of 7-bit ctype tables in the * isprint test in infocmp. */ ! #ifndef HAVE_ISASCII # undef isascii # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127) # define isascii(c) (((c) & 0xff) <= 127) --- 164,170 ---- /* We use isascii only to guard against use of 7-bit ctype tables in the * isprint test in infocmp. */ ! #if !HAVE_ISASCII # undef isascii # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127) # define isascii(c) (((c) & 0xff) <= 127) *************** *** 172,174 **** --- 172,176 ---- # define isascii(c) 1 /* not really ascii anyway */ # endif #endif + + #define SIZEOF(v) (sizeof(v)/sizeof(v[0]))