[rtems commit] tm27: Fix prototype warnings
Sebastian Huber
sebh at rtems.org
Wed Jul 25 08:09:18 UTC 2018
Module: rtems
Branch: master
Commit: f8d00a3f19fb3aa9cf2bfaeedea895b7fb14c854
Changeset: http://git.rtems.org/rtems/commit/?id=f8d00a3f19fb3aa9cf2bfaeedea895b7fb14c854
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jul 25 08:00:22 2018 +0200
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 7fdb09a..2a4a343 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 { \
More information about the vc
mailing list