From: Andrew Morton Date: Wed, 22 Aug 2007 21:02:01 +0000 (-0700) Subject: selection.h: add tty_struct forward declaration X-Git-Tag: v2.6.23-rc4~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa42632d3a0024700b25f57fd0fca56f6abad24;p=linux-2.6 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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/selection.h b/include/linux/selection.h index ed3408b400..f945786193 100644 --- a/include/linux/selection.h +++ b/include/linux/selection.h @@ -10,6 +10,8 @@ #include #include +struct tty_struct; + extern struct vc_data *sel_cons; extern void clear_selection(void);