linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/char/vc_screen.c: proper prototypes
Date: Mon, 18 Dec 2006 04:46:34 +0100	[thread overview]
Message-ID: <20061218034634.GB10316@stusta.de> (raw)

This patch adds proper prototypes for two functions in 
drivers/char/vc_screen.c

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/char/vt.c       |    3 ---
 include/linux/console.h |    4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

--- linux-2.6.20-rc1-mm1/include/linux/console.h.old	2006-12-18 03:16:32.000000000 +0100
+++ linux-2.6.20-rc1-mm1/include/linux/console.h	2006-12-18 03:26:43.000000000 +0100
@@ -21,6 +21,7 @@
 struct console_font_op;
 struct console_font;
 struct module;
+struct tty_struct;
 
 /*
  * this is what the terminal answers to a ESC-Z or csi0c query.
@@ -132,6 +133,9 @@
 int mda_console_init(void);
 void prom_con_init(void);
 
+void vcs_make_sysfs(struct tty_struct *tty);
+void vcs_remove_sysfs(struct tty_struct *tty);
+
 /* Some debug stub to catch some of the obvious races in the VT code */
 #if 1
 #define WARN_CONSOLE_UNLOCKED()	WARN_ON(!is_console_locked() && !oops_in_progress)
--- linux-2.6.20-rc1-mm1/drivers/char/vt.c.old	2006-12-18 03:18:11.000000000 +0100
+++ linux-2.6.20-rc1-mm1/drivers/char/vt.c	2006-12-18 03:18:22.000000000 +0100
@@ -136,9 +136,6 @@
 #define DEFAULT_BELL_PITCH	750
 #define DEFAULT_BELL_DURATION	(HZ/8)
 
-extern void vcs_make_sysfs(struct tty_struct *tty);
-extern void vcs_remove_sysfs(struct tty_struct *tty);
-
 struct vc vc_cons [MAX_NR_CONSOLES];
 
 #ifndef VT_SINGLE_DRIVER


                 reply	other threads:[~2006-12-18  3:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061218034634.GB10316@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).