mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-17 15:31:57 +00:00
[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>
This commit is contained in:
committed by
Linus Torvalds
parent
5e198d94dd
commit
75c96f8584
@@ -55,7 +55,8 @@ struct poll_table_page {
|
||||
* as all select/poll functions have to call it to add an entry to the
|
||||
* poll table.
|
||||
*/
|
||||
void __pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p);
|
||||
static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
|
||||
poll_table *p);
|
||||
|
||||
void poll_initwait(struct poll_wqueues *pwq)
|
||||
{
|
||||
@@ -87,7 +88,8 @@ void poll_freewait(struct poll_wqueues *pwq)
|
||||
|
||||
EXPORT_SYMBOL(poll_freewait);
|
||||
|
||||
void __pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *_p)
|
||||
static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
|
||||
poll_table *_p)
|
||||
{
|
||||
struct poll_wqueues *p = container_of(_p, struct poll_wqueues, pt);
|
||||
struct poll_table_page *table = p->table;
|
||||
|
||||
Reference in New Issue
Block a user