summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/hexdump-odsyntax.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-06-15 01:02:18 +0000
committerChris Johns <chrisj@rtems.org>2009-06-15 01:02:18 +0000
commit6576c1d7ea057a0477c52f4989fc89e369af4c9a (patch)
tree3a207b1a6f744f07c6eee5198e1a39832d6346e0 /cpukit/libmisc/shell/hexdump-odsyntax.c
parentFixed nested includes. (diff)
downloadrtems-6576c1d7ea057a0477c52f4989fc89e369af4c9a.tar.bz2
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.
Diffstat (limited to 'cpukit/libmisc/shell/hexdump-odsyntax.c')
-rw-r--r--cpukit/libmisc/shell/hexdump-odsyntax.c2
1 files changed, 2 insertions, 0 deletions
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;