bsps: Provide optional prototype

This commit is contained in:
Sebastian Huber
2012-03-24 17:33:22 +01:00
parent e8adc8e355
commit 5cc813f2b5

View File

@@ -134,9 +134,12 @@ static inline rtems_vector_number bsp_interrupt_handler_index(
* @{ * @{
*/ */
#if !defined(BSP_INTERRUPT_CUSTOM_VALID_VECTOR) #ifdef BSP_INTERRUPT_CUSTOM_VALID_VECTOR
bool bsp_interrupt_is_valid_vector(rtems_vector_number vector);
#else
/** /**
* @brief Returns true if the interrupt vector with number @a vector is valid. * @brief Returns true if the interrupt vector with number @a vector is
* valid.
*/ */
static inline bool bsp_interrupt_is_valid_vector(rtems_vector_number vector) static inline bool bsp_interrupt_is_valid_vector(rtems_vector_number vector)
{ {