Home | History | Annotate | Line # | Download | only in common
bptypes.h revision 1.2
      1 /* bptypes.h */
      2 
      3 #ifndef	BPTYPES_H
      4 #define	BPTYPES_H
      5 
      6 /*
      7  * 32 bit integers are different types on various architectures
      8  * XXX THE CORRECT WAY TO DO THIS IS:
      9  * XXX	(1) convert to _t form for all uses,
     10  * XXX	(2) define the _t's here (or somewhere)
     11  * XXX		if !defined(__BIT_TYPES_DEFINED__)
     12  */
     13 
     14 typedef int32_t int32;
     15 typedef u_int32_t u_int32;
     16 
     17 /*
     18  * Nice typedefs. . .
     19  */
     20 
     21 typedef int boolean;
     22 typedef unsigned char byte;
     23 
     24 
     25 #endif	/* BPTYPES_H */
     26