diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-22 14:02:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-22 19:52:47 -0700 |
commit | 0aa42632d3a0024700b25f57fd0fca56f6abad24 (patch) | |
tree | 755a42e10d764b06de6973fc057cd3e4ca14b54a /include/linux/selection.h | |
parent | de5986dd3a102b8ae34bf08fe6f45b62b57ab2eb (diff) | |
download | lwn-0aa42632d3a0024700b25f57fd0fca56f6abad24.tar.gz lwn-0aa42632d3a0024700b25f57fd0fca56f6abad24.zip |
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/selection.h')
-rw-r--r-- | include/linux/selection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/selection.h b/include/linux/selection.h index ed3408b400f1..f9457861937c 100644 --- a/include/linux/selection.h +++ b/include/linux/selection.h @@ -10,6 +10,8 @@ #include <linux/tiocl.h> #include <linux/vt_buffer.h> +struct tty_struct; + extern struct vc_data *sel_cons; extern void clear_selection(void); |