From f8d00a3f19fb3aa9cf2bfaeedea895b7fb14c854 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 25 Jul 2018 08:00:22 +0200 Subject: [PATCH] tm27: Fix prototype warnings --- cpukit/include/rtems/tm27-default.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/tm27-default.h b/cpukit/include/rtems/tm27-default.h index 7fdb09a5ba..2a4a34384e 100644 --- a/cpukit/include/rtems/tm27-default.h +++ b/cpukit/include/rtems/tm27-default.h @@ -29,9 +29,10 @@ #define MUST_WAIT_FOR_INTERRUPT 0 -void Install_tm27_vector(void (*_handler)()) -{ -} +#define Install_tm27_vector( _handler ) \ + do { \ + (void) _handler; \ + } while (0) #define Cause_tm27_intr() \ do { \