From 983688bef607b3d9dc410c7a564cf8cb383c42f1 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 15 Dec 2007 00:06:27 +0000 Subject: [PATCH] Use C99 type to typedef Contiki types. --- cpu/6502/6502def.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpu/6502/6502def.h b/cpu/6502/6502def.h index eb892a096..8f63c5ddc 100644 --- a/cpu/6502/6502def.h +++ b/cpu/6502/6502def.h @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * @(#)$Id: 6502def.h,v 1.2 2007/11/17 23:42:23 oliverschmidt Exp $ + * @(#)$Id: 6502def.h,v 1.3 2007/12/15 00:06:27 oliverschmidt Exp $ */ #ifndef __6502DEF_H__ @@ -39,10 +39,10 @@ #include /* These names are deprecated, use C99 names. */ -typedef unsigned char u8_t; -typedef unsigned short u16_t; -typedef unsigned long u32_t; -typedef long s32_t; +typedef uint8_t u8_t; +typedef uint16_t u16_t; +typedef uint32_t u32_t; +typedef int32_t s32_t; typedef unsigned short uip_stats_t;