Skip to content
Commit 1ae7ae8c authored by Stephanos Ioannidis's avatar Stephanos Ioannidis Committed by Andrew Boie
Browse files

arch_interface: Remove duplicate irq_offload_routine_t typedef.



This commit removes duplicate 'irq_offload_routine_t' typedef
declaration in sys/arch_interface.h.

This typedef is provided by irq_offload.h and, since this header file
is included at the top of sys/arch_interface.h, it is guaranteed to be
defined for arch_irq_offload definition.

While this does not cause a compilation error when compiling with GCC
4.6 and above, GCC 4.5 and below strictly enforce the C99 standard and
do not allow redeclaration of the same typedef in the same scope.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent fdf809d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment