2009-06-15 Chris Johns <chrisj@rtems.org>

* 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.
This commit is contained in:
Chris Johns
2009-06-15 01:02:18 +00:00
parent 3967dbe4d3
commit 6576c1d7ea
3 changed files with 10 additions and 1 deletions

View File

@@ -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;