diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-13 14:50:12 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:45 -0500 |
commit | cba474ea2d7ba83d68f7ee7c2ce7028950677cc6 (patch) | |
tree | a16e9a9210d7872b9c00bdcdb5fa28cd8baf0168 /c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c | |
parent | libcpu/arm/shared/../mmu: Fix warnings (diff) | |
download | rtems-cba474ea2d7ba83d68f7ee7c2ce7028950677cc6.tar.bz2 |
m68k/ods68302: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c b/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c index 0ea119ce9a..45bfe42725 100644 --- a/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c +++ b/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c @@ -1,9 +1,7 @@ -/*****************************************************************************/ /* - Hooks for GDB - + * Hooks for GDB + * */ -/*****************************************************************************/ #include <bsp.h> #include <rtems/m68k/m68302.h> @@ -11,6 +9,15 @@ static int initialised = 0; +/* + * This file does not intend to make things part of the public interface. + * Methods here are only available to the GDB stub. So prototypes are + * needed to avoid warnings. + */ +void putDebugChar(char ch); +char getDebugChar(void); +void exceptionHandler(unsigned int vector, void *handler); + void putDebugChar(char ch) { if (!initialised) |