Changeset d5e533d in rtems


Ignore:
Timestamp:
Oct 12, 2014, 1:53:46 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
d08e1320
Parents:
b1c89d25
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 13:53:46)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:32:42)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mcf5329/console/console.c

    rb1c89d25 rd5e533d  
    666666  return (rtems_termios_ioctl(arg));
    667667}
    668 int DEBUG_OUTCHAR(int c)
    669 {
    670   if (c == '\n')
    671     DEBUG_OUTCHAR('\r');
    672   _BSP_null_char(c);
    673   return c;
    674 }
    675 void DEBUG_OUTSTR(const char *msg)
    676 {
    677   while (*msg)
    678     DEBUG_OUTCHAR(*msg++);
    679 }
    680 void DEBUG_OUTNUM(int i)
    681 {
    682   int n;
    683   static const char map[] = "0123456789ABCDEF";
    684 
    685   DEBUG_OUTCHAR(' ');
    686   for (n = 28; n >= 0; n -= 4)
    687     DEBUG_OUTCHAR(map[(i >> n) & 0xF]);
    688 }
Note: See TracChangeset for help on using the changeset viewer.