0003-Don-t-declare-functions-inline-that-aren-t-always-de.patch 784 B

1234567891011121314151617181920212223242526272829
  1. From 9d747549141e710c324968636522e57fe4ba9445 Mon Sep 17 00:00:00 2001
  2. From: Paul Kocialkowski <contact@paulk.fr>
  3. Date: Wed, 20 Jul 2016 16:27:05 +0200
  4. Subject: [PATCH 3/4] Don't declare functions inline that aren't always defined
  5. as such
  6. This is based on commit 960cf45b3ffe88e842c27145e7e646d63a89c371
  7. (Don't declare functions inline that aren't always defined as such)
  8. ---
  9. include/task.h | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/include/task.h b/include/task.h
  12. index 00368fb..52827e9 100644
  13. --- a/include/task.h
  14. +++ b/include/task.h
  15. @@ -47,7 +47,7 @@ void interrupt_enable(void);
  16. /**
  17. * Return true if we are in interrupt context.
  18. */
  19. -inline int in_interrupt_context(void);
  20. +int in_interrupt_context(void);
  21. /**
  22. * Set a task event.
  23. --
  24. 2.9.0