arm/edb7312: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-20 09:11:41 -05:00
parent 0e74a51ebb
commit 0f8ee10e3f
3 changed files with 17 additions and 2 deletions

View File

@@ -16,6 +16,8 @@
#ifndef _BSP_H #ifndef _BSP_H
#define _BSP_H #define _BSP_H
#ifndef ASM
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@@ -57,10 +59,17 @@ int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
/** @} */ /** @} */
/*
* Prototypes for methods called from .S but implemented in C
*/
void edb7312_interrupt_dispatch(rtems_vector_number vector);
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* !ASM */
#endif /* _BSP_H */ #endif /* _BSP_H */

View File

@@ -1,6 +1,8 @@
/* /*
* Cirrus EP7312 Intererrupt handler * Cirrus EP7312 Intererrupt handler
* */
/*
* Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com> * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
* *
* Copyright (c) 2002 by Charlie Steader <charlies@poliac.com> * Copyright (c) 2002 by Charlie Steader <charlies@poliac.com>
@@ -9,7 +11,9 @@
* found in the file LICENSE in this distribution or at * found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE. * http://www.rtems.org/license/LICENSE.
*/ */
#define __asm__ #define __asm__
#include <bsp.h>
#include "irq.h" #include "irq.h"
.extern edb7312_interrupt_dispatch .extern edb7312_interrupt_dispatch

View File

@@ -1,6 +1,8 @@
/* /*
* Cirrus EP7312 Intererrupt handler * Cirrus EP7312 Intererrupt handler
* */
/*
* Copyright (c) 2010 embedded brains GmbH. * Copyright (c) 2010 embedded brains GmbH.
* *
* Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com> * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>