comparison target-utils/include/types.h @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 /*
2 * I personally like the u8/u16/u32 types, but I don't see them
3 * being defined in any of the headers provided by newlib.
4 * So we'll define them ourselves.
5 */
6
7 #ifndef __OUR_OWN_TYPES_H
8 #define __OUR_OWN_TYPES_H
9
10 typedef unsigned char u8;
11 typedef unsigned short u16;
12 typedef unsigned int u32;
13
14 typedef signed char s8;
15 typedef signed short s16;
16 typedef signed int s32;
17
18 #endif /* include guard */