no-extern-inline.patch 1.3 KB

123456789101112131415161718192021222324252627282930
  1. diff -Nur linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72.orig/arch/arm/include/asm/ftrace.h linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72/arch/arm/include/asm/ftrace.h
  2. --- linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72.orig/arch/arm/include/asm/ftrace.h 2017-09-27 03:56:40.000000000 +0200
  3. +++ linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72/arch/arm/include/asm/ftrace.h 2017-09-27 04:31:03.708572870 +0200
  4. @@ -27,7 +27,7 @@
  5. #else
  6. -extern inline void *return_address(unsigned int level)
  7. +static inline void *return_address(unsigned int level)
  8. {
  9. return NULL;
  10. }
  11. diff -Nur linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72.orig/include/linux/inotify.h linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72/include/linux/inotify.h
  12. --- linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72.orig/include/linux/inotify.h 2017-09-27 03:56:44.000000000 +0200
  13. +++ linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72/include/linux/inotify.h 2017-09-27 04:47:37.707436849 +0200
  14. @@ -230,12 +230,12 @@
  15. {
  16. }
  17. -extern inline int pin_inotify_watch(struct inotify_watch *watch)
  18. +static inline int pin_inotify_watch(struct inotify_watch *watch)
  19. {
  20. return 0;
  21. }
  22. -extern inline void unpin_inotify_watch(struct inotify_watch *watch)
  23. +static inline void unpin_inotify_watch(struct inotify_watch *watch)
  24. {
  25. }