[BACK]Return to types.h CVS log [TXT][DIR] Up to [local] / funnyos / sys

File: [local] / funnyos / sys / types.h (download)

Revision 1.2, Tue Oct 16 13:28:05 2007 UTC (16 years, 6 months ago) by init
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines

correctly define NULL

/*
 * $Id: types.h,v 1.2 2007/10/16 13:28:05 init Exp $
 */
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H

typedef unsigned int   	uint32_t;
typedef unsigned short 	uint16_t;
typedef unsigned char  	uint8_t;
typedef signed int   	int32_t;
typedef signed short 	int16_t;
typedef signed char  	int8_t;

/* XXX convert any imported sources to not to use these types */
typedef unsigned long 	u_long;
typedef unsigned long long u_int64_t;
typedef unsigned int 	u_int;

#define NULL (0)

#endif /* _SYS_TYPES_H */