Module: xenomai-forge
Branch: next
Commit: 1b58362c5d14ab1bf5f140e09348dc5df896c007
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=1b58362c5d14ab1bf5f140e09348dc5df896c007

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Aug  8 10:22:18 2014 +0200

alchemy/alarm: annotate compatibility services

---

 lib/alchemy/alarm.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/alchemy/alarm.c b/lib/alchemy/alarm.c
index b3577da..a430082 100644
--- a/lib/alchemy/alarm.c
+++ b/lib/alchemy/alarm.c
@@ -164,9 +164,9 @@ static void alarm_handler(struct timerobj *tmobj)
  * by multiple processes, even if they belong to the same Xenomai
  * session.
  */
-int rt_alarm_create(RT_ALARM *alarm, const char *name,
-                   void (*handler)(void *arg),
-                   void *arg)
+CURRENT_IMPL(int, rt_alarm_create, (RT_ALARM *alarm, const char *name,
+                                   void (*handler)(void *arg),
+                                   void *arg))
 {
        struct alchemy_alarm *acb;
        struct service svc;
@@ -236,7 +236,7 @@ out:
  *
  * @apitags{thread-unrestricted, switch-secondary}
  */
-int rt_alarm_delete(RT_ALARM *alarm)
+CURRENT_IMPL(int, rt_alarm_delete, (RT_ALARM *alarm))
 {
        struct alchemy_alarm *acb;
        struct service svc;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to