From 6576c1d7ea057a0477c52f4989fc89e369af4c9a Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 15 Jun 2009 01:02:18 +0000 Subject: 2009-06-15 Chris Johns * libmisc/shell/hexdump-odsyntax.c: AVR has the same size float and double. Fix error in case statement. * libmisc/shell/main_dd.c: Remove sys/conf.h header. It is not available if networking is disabled. --- cpukit/libmisc/shell/hexdump-odsyntax.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/libmisc/shell/hexdump-odsyntax.c') diff --git a/cpukit/libmisc/shell/hexdump-odsyntax.c b/cpukit/libmisc/shell/hexdump-odsyntax.c index db67ae53e9..5fba463b5c 100644 --- a/cpukit/libmisc/shell/hexdump-odsyntax.c +++ b/cpukit/libmisc/shell/hexdump-odsyntax.c @@ -353,9 +353,11 @@ odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char case sizeof(float): digits = FLT_DIG; break; +#if !defined(__AVR__) case sizeof(double): digits = DBL_DIG; break; +#endif default: if (isize == sizeof(long double)) digits = LDBL_DIG; -- cgit v1.2.3