Commit 0aa42632 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

selection.h: add tty_struct forward declaration

In file included from drivers/video/console/newport_con.c:16:
include/linux/selection.h:16: warning: "struct tty_struct" declared inside parameter list
include/linux/selection.h:16: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent de5986dd
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
#include <linux/tiocl.h> #include <linux/tiocl.h>
#include <linux/vt_buffer.h> #include <linux/vt_buffer.h>
struct tty_struct;
extern struct vc_data *sel_cons; extern struct vc_data *sel_cons;
extern void clear_selection(void); extern void clear_selection(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment