[rtems commit] m68k/mcf5329/console/console.c: Eliminate unused debug methods

Joel Sherrill joel at rtems.org
Mon Oct 13 15:23:39 UTC 2014


Module:    rtems
Branch:    master
Commit:    d5e533dbd6f86084ee5c9420e0d7167234f207c7
Changeset: http://git.rtems.org/rtems/commit/?id=d5e533dbd6f86084ee5c9420e0d7167234f207c7

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Oct 12 08:53:46 2014 -0500

m68k/mcf5329/console/console.c: Eliminate unused debug methods

---

 c/src/lib/libbsp/m68k/mcf5329/console/console.c |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/mcf5329/console/console.c b/c/src/lib/libbsp/m68k/mcf5329/console/console.c
index 8f72270..4b57131 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/console/console.c
+++ b/c/src/lib/libbsp/m68k/mcf5329/console/console.c
@@ -665,24 +665,3 @@ rtems_device_driver console_control(rtems_device_major_number major,
 {
   return (rtems_termios_ioctl(arg));
 }
-int DEBUG_OUTCHAR(int c)
-{
-  if (c == '\n')
-    DEBUG_OUTCHAR('\r');
-  _BSP_null_char(c);
-  return c;
-}
-void DEBUG_OUTSTR(const char *msg)
-{
-  while (*msg)
-    DEBUG_OUTCHAR(*msg++);
-}
-void DEBUG_OUTNUM(int i)
-{
-  int n;
-  static const char map[] = "0123456789ABCDEF";
-
-  DEBUG_OUTCHAR(' ');
-  for (n = 28; n >= 0; n -= 4)
-    DEBUG_OUTCHAR(map[(i >> n) & 0xF]);
-}



More information about the vc mailing list