Drop main() prototype. Syncs with NetBSD-8
[minix.git] / bin / ksh / ksh_limval.h
blob42e38bbf5a07e1ae64db96d53ebf75ba8c84bced
1 /* $NetBSD: ksh_limval.h,v 1.2 1997/01/12 19:11:59 tls Exp $ */
3 /* Wrapper around the values.h/limits.h includes/ifdefs */
4 /* $NetBSD: ksh_limval.h,v 1.2 1997/01/12 19:11:59 tls Exp $ */
6 #ifdef HAVE_VALUES_H
7 # include <values.h>
8 #endif /* HAVE_VALUES_H */
9 /* limits.h is included in sh.h */
11 #ifndef DMAXEXP
12 # define DMAXEXP 128 /* should be big enough */
13 #endif
15 #ifndef BITSPERBYTE
16 # ifdef CHAR_BIT
17 # define BITSPERBYTE CHAR_BIT
18 # else
19 # define BITSPERBYTE 8 /* probably true.. */
20 # endif
21 #endif
23 #ifndef BITS
24 # define BITS(t) (BITSPERBYTE * sizeof(t))
25 #endif