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

1234567891011121314151617181920212223242526272829
  1. From 3515f1d744cbcdb37471e898277aa6b1ddd3d0ee 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 4/6] 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 cb96281..85d5b00 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