source: rtems/c/src/lib/libbsp/m68k/sim68000/console/debugio.c @ 6e14a99

4.115
Last change on this file since 6e14a99 was 6e14a99, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 15, 2014 at 10:31:04 PM

m68k/shared and sim68000: Fix warnings

  • Property mode set to 100644
File size: 504 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2014.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#include <unistd.h> /* write */
11
12#include <bsp.h>
13#include <rtems/bspIo.h>
14
15static void debug_putc( char c )
16{
17  write( 2, &c, 1 );
18}
19
20BSP_output_char_function_type BSP_output_char =  debug_putc;
21BSP_polling_getchar_function_type BSP_poll_char = NULL;
Note: See TracBrowser for help on using the repository browser.