diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-25 08:00:22 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-25 10:07:42 +0200 |
commit | f8d00a3f19fb3aa9cf2bfaeedea895b7fb14c854 (patch) | |
tree | 22c5af8fbd8688a91aae61db92c7808929d53652 /cpukit/include | |
parent | powerpc: Fix _CPU_Instruction_illegal() (diff) | |
download | rtems-f8d00a3f19fb3aa9cf2bfaeedea895b7fb14c854.tar.bz2 |
tm27: Fix prototype warnings
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/tm27-default.h | 7 |
1 files 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 { \ |