diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-01-08 03:09:15 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 17:31:15 +0100 |
commit | da2bdf9a6ff40b10d77620d0d76b02a738c103cb (patch) | |
tree | 16ca5b7ae8b504fbc2a5e54f934837b5d1172eaa /drivers/char/vt.c | |
parent | generic swap(): dcache: use swap() instead of private do_switch() (diff) | |
download | linux-da2bdf9a6ff40b10d77620d0d76b02a738c103cb.tar.xz linux-da2bdf9a6ff40b10d77620d0d76b02a738c103cb.zip |
Make various things static
Building an allnoconfig kernel, sparse asked whether these could be
static, so I checked, and they are only used in the file where they are
declared.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 80014213fb53..7900bd63b36d 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -969,8 +969,7 @@ int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int rows) * Takes the console sem and the called methods then take the tty * termios_mutex and the tty ctrl_lock in that order. */ - -int vt_resize(struct tty_struct *tty, struct winsize *ws) +static int vt_resize(struct tty_struct *tty, struct winsize *ws) { struct vc_data *vc = tty->driver_data; int ret; |