Replace (sizeof (char) << 3) with a less silly-looking CHAR_BIT;

from Peter Seebach in PR standards/9333.
This commit is contained in:
kleink 2001-04-17 20:09:50 +00:00
parent 13e5178e3d
commit 7aa4bf8f8f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ctype.h,v 1.19 2001/01/21 10:44:15 itojun Exp $ */
/* $NetBSD: ctype.h,v 1.20 2001/04/17 20:09:50 kleink Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@ -124,7 +124,7 @@ __END_DECLS
#endif
#ifdef _CTYPE_PRIVATE
#define _CTYPE_NUM_CHARS (1<<(sizeof(char)<<3))
#define _CTYPE_NUM_CHARS (1 << CHAR_BIT)
#define _CTYPE_ID "BSDCTYPE"
#define _CTYPE_REV 2