From a416f2eb2c0b272f3ff3b368866adbe78de8256e Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 8 Mar 2010 17:11:27 +0000 Subject: [PATCH] bug #29105: Review printf formatters: added X8_F to cc.h --- ports/unix/include/arch/cc.h | 1 + ports/win32/include/arch/cc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/ports/unix/include/arch/cc.h b/ports/unix/include/arch/cc.h index 4645478..f2214a5 100644 --- a/ports/unix/include/arch/cc.h +++ b/ports/unix/include/arch/cc.h @@ -52,6 +52,7 @@ typedef signed int s32_t; typedef unsigned long mem_ptr_t; /* Define (sn)printf formatters for these lwIP types */ +#define X8_F "02x" #define U16_F "hu" #define S16_F "hd" #define X16_F "hx" diff --git a/ports/win32/include/arch/cc.h b/ports/win32/include/arch/cc.h index 3287a30..ba2712a 100644 --- a/ports/win32/include/arch/cc.h +++ b/ports/win32/include/arch/cc.h @@ -75,6 +75,7 @@ typedef size_t mem_ptr_t; typedef u32_t sys_prot_t; /* Define (sn)printf formatters for these lwIP types */ +#define X8_F "02x" #define U16_F "hu" #define S16_F "hd" #define X16_F "hx"