summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2015-03-16 13:23:15 -0400
committerGedare Bloom <gedare@rtems.org>2015-03-16 13:23:15 -0400
commita62220fefad22c53d3d8c7c7a486fd7ef9fb2f7d (patch)
tree7dc04961a4611ad6d9286740ab2dc21754e309f1
parentshell: fix printf warnings (diff)
downloadrtems-a62220fefad22c53d3d8c7c7a486fd7ef9fb2f7d.tar.bz2
shell: remove rtems ifdef, upstream is correct
-rw-r--r--cpukit/libmisc/shell/hexdump-conv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpukit/libmisc/shell/hexdump-conv.c b/cpukit/libmisc/shell/hexdump-conv.c
index 95d8a87974..ae1540f07b 100644
--- a/cpukit/libmisc/shell/hexdump-conv.c
+++ b/cpukit/libmisc/shell/hexdump-conv.c
@@ -142,15 +142,7 @@ retry:
pad = 3 - width;
if (pad < 0)
pad = 0;
- #if defined(__rtems__)
- {
- wchar_t wc_tmp[2] = {0,0};
- wc_tmp[0] = wc;
- (void)printf("%*s%lc", pad, "", wc_tmp);
- }
- #else
(void)printf("%*s%lc", pad, "", wc);
- #endif
pr->mbleft = clen - 1;
}
} else {