diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 19:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 19:36:47 -0400 |
commit | 75c96f85845a6707b0f9916cb263cb3584f7d48f (patch) | |
tree | 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 /fs/select.c | |
parent | 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (diff) |
[PATCH] make some things static
This patch makes some needlessly global identifiers static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Arjan van de Ven <arjanv@infradead.org>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/select.c b/fs/select.c index 25b1ccac2f2c..b80e7eb0ac0d 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -55,7 +55,8 @@ struct poll_table_page { | |||
55 | * as all select/poll functions have to call it to add an entry to the | 55 | * as all select/poll functions have to call it to add an entry to the |
56 | * poll table. | 56 | * poll table. |
57 | */ | 57 | */ |
58 | void __pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p); | 58 | static void __pollwait(struct file *filp, wait_queue_head_t *wait_address, |
59 | poll_table *p); | ||
59 | 60 | ||
60 | void poll_initwait(struct poll_wqueues *pwq) | 61 | void poll_initwait(struct poll_wqueues *pwq) |
61 | { | 62 | { |
@@ -87,7 +88,8 @@ void poll_freewait(struct poll_wqueues *pwq) | |||
87 | 88 | ||
88 | EXPORT_SYMBOL(poll_freewait); | 89 | EXPORT_SYMBOL(poll_freewait); |
89 | 90 | ||
90 | void __pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *_p) | 91 | static void __pollwait(struct file *filp, wait_queue_head_t *wait_address, |
92 | poll_table *_p) | ||
91 | { | 93 | { |
92 | struct poll_wqueues *p = container_of(_p, struct poll_wqueues, pt); | 94 | struct poll_wqueues *p = container_of(_p, struct poll_wqueues, pt); |
93 | struct poll_table_page *table = p->table; | 95 | struct poll_table_page *table = p->table; |