[rtems commit] shell: remove rtems ifdef, upstream is correct
Gedare Bloom
gedare at rtems.org
Mon Mar 16 17:23:25 UTC 2015
Module: rtems
Branch: master
Commit: a62220fefad22c53d3d8c7c7a486fd7ef9fb2f7d
Changeset: http://git.rtems.org/rtems/commit/?id=a62220fefad22c53d3d8c7c7a486fd7ef9fb2f7d
Author: Gedare Bloom <gedare at rtems.org>
Date: Mon Mar 16 13:23:15 2015 -0400
shell: remove rtems ifdef, upstream is correct
---
cpukit/libmisc/shell/hexdump-conv.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/cpukit/libmisc/shell/hexdump-conv.c b/cpukit/libmisc/shell/hexdump-conv.c
index 95d8a87..ae1540f 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 {
More information about the vc
mailing list