[riot-notifications] [RIOT-OS/RIOT] sys/evtimer: refactor evtimer add()/del() (#10717)

Kees Bakker notifications at github.com
Fri Jul 5 21:27:23 CEST 2019


keestux commented on this pull request.



> @@ -31,64 +31,53 @@
 #define ENABLE_DEBUG (0)
 #include "debug.h"
 
-/* XXX this function is intentionally non-static, since the optimizer can't
- * handle the pointer hack in this function */
-void evtimer_add_event_to_list(evtimer_t *evtimer, evtimer_event_t *event)
+static void evtimer_add_event_to_list(evtimer_t *evtimer, evtimer_event_t *event)

Good idea

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10717#discussion_r300779412
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190705/9eb880dd/attachment.html>


More information about the notifications mailing list