Replaced most type definitions with reference to stdint.h.

This commit is contained in:
oliverschmidt 2007-11-17 23:42:23 +00:00
parent 4b68a3ee5d
commit eabf01903d

View File

@ -30,18 +30,13 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* @(#)$Id: 6502def.h,v 1.1 2007/09/05 10:59:11 oliverschmidt Exp $ * @(#)$Id: 6502def.h,v 1.2 2007/11/17 23:42:23 oliverschmidt Exp $
*/ */
#ifndef __6502DEF_H__ #ifndef __6502DEF_H__
#define __6502DEF_H__ #define __6502DEF_H__
typedef signed char int8_t; #include <stdint.h>
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed long int32_t;
typedef unsigned long uint32_t;
/* These names are deprecated, use C99 names. */ /* These names are deprecated, use C99 names. */
typedef unsigned char u8_t; typedef unsigned char u8_t;