diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-09-26 04:38:48 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-09-27 05:50:46 +0200 |
commit | a73da5a99a13b34e18f98c1ad0c327fdad000257 (patch) | |
tree | 13f2c15f2bf73222282cd5285a69dc1471fc66b8 /target/linux/patches/2.6.32.70/no-extern-inline.patch | |
parent | cdd54e5dbcc88c265a03afcc408c48cca30df03a (diff) |
sample for SUN JavaStation
Diffstat (limited to 'target/linux/patches/2.6.32.70/no-extern-inline.patch')
-rw-r--r-- | target/linux/patches/2.6.32.70/no-extern-inline.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.32.70/no-extern-inline.patch b/target/linux/patches/2.6.32.70/no-extern-inline.patch new file mode 100644 index 000000000..092a6b1d7 --- /dev/null +++ b/target/linux/patches/2.6.32.70/no-extern-inline.patch @@ -0,0 +1,30 @@ +diff -Nur linux-2.6.32.70.orig/include/linux/inotify.h linux-2.6.32.70/include/linux/inotify.h +--- linux-2.6.32.70.orig/include/linux/inotify.h 2016-01-29 22:13:00.000000000 +0100 ++++ linux-2.6.32.70/include/linux/inotify.h 2017-09-26 04:19:21.883681676 +0200 +@@ -230,12 +230,12 @@ + { + } + +-extern inline int pin_inotify_watch(struct inotify_watch *watch) ++static inline int pin_inotify_watch(struct inotify_watch *watch) + { + return 0; + } + +-extern inline void unpin_inotify_watch(struct inotify_watch *watch) ++static inline void unpin_inotify_watch(struct inotify_watch *watch) + { + } + +diff -Nur linux-2.6.32.70.orig/include/linux/tty.h linux-2.6.32.70/include/linux/tty.h +--- linux-2.6.32.70.orig/include/linux/tty.h 2016-01-29 22:13:00.000000000 +0100 ++++ linux-2.6.32.70/include/linux/tty.h 2017-09-26 04:06:38.856051772 +0200 +@@ -478,7 +478,7 @@ + extern void tty_port_close_end(struct tty_port *port, struct tty_struct *tty); + extern void tty_port_close(struct tty_port *port, + struct tty_struct *tty, struct file *filp); +-extern inline int tty_port_users(struct tty_port *port) ++static inline int tty_port_users(struct tty_port *port) + { + return port->count + port->blocked_open; + } |