mips/genmongoosev: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-12 19:17:11 -05:00
parent a36094f157
commit 2dac965ff6
5 changed files with 27 additions and 49 deletions

View File

@@ -1,7 +1,9 @@
/*
* GDB Support Routines for the Mongoose-V
*
* COPYRIGHT (c) 1989-2002.
*/
/*
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -9,7 +11,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#include <rtems.h>
#include <bsp.h>
#include <rtems/bspIo.h>
#include <bsp/mongoose-v.h>
#include "gdb_if.h"
@@ -35,6 +37,12 @@ extern int mg5uart_close(int major,int minor, void *arg);
extern void mg5uart_write_polled(int minor, char c );
extern int mg5uart_inbyte_nonblocking_polled(int minor);
/*
* Prototypes for methods assumed to exist by the gdb stub
*/
char getDebugChar (void);
void putDebugChar (char c);
static int debugUartEnabled = 0;
int mg5rdbgOpenGDBuart(int breakoninit)