summaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_tty.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2008-02-08 13:18:27 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 18:22:23 +0100
commit76df0c25d0c34eba9fbb8a44106ed096553ba0e8 (patch)
treea68241a860699f952a1cfcf22e50ddbc19bba7c9 /fs/proc/proc_tty.c
parentproc: less LOCK operations during lookup (diff)
downloadlinux-76df0c25d0c34eba9fbb8a44106ed096553ba0e8.tar.xz
linux-76df0c25d0c34eba9fbb8a44106ed096553ba0e8.zip
proc: simplify function prototypes
Move code around so as to reduce the number of forward-declarations. Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/proc_tty.c')
-rw-r--r--fs/proc/proc_tty.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c
index 22846225acfa..34296839b417 100644
--- a/fs/proc/proc_tty.c
+++ b/fs/proc/proc_tty.c
@@ -15,9 +15,6 @@
#include <linux/seq_file.h>
#include <linux/bitops.h>
-static int tty_ldiscs_read_proc(char *page, char **start, off_t off,
- int count, int *eof, void *data);
-
/*
* The /proc/tty directory inodes...
*/