- created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde
25 lines
446 B
C
25 lines
446 B
C
/*
|
|
* This file is in the public domain.
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef _SYS_INTTYPES_H_
|
|
#define _SYS_INTTYPES_H_
|
|
|
|
#include <machine/ansi.h>
|
|
|
|
typedef __int8_t int8_t;
|
|
typedef __int16_t int16_t;
|
|
typedef __int32_t int32_t;
|
|
typedef __int64_t int64_t;
|
|
|
|
typedef __uint8_t uint8_t;
|
|
typedef __uint16_t uint16_t;
|
|
typedef __uint32_t uint32_t;
|
|
typedef __uint64_t uint64_t;
|
|
|
|
typedef __intptr_t intptr_t;
|
|
typedef __uintptr_t uintptr_t;
|
|
|
|
#endif /* !_SYS_INTTYPES_H_ */
|