[PATCH -mm] swap: fix function declaration

From: Randy Dunlap
Date: Tue Sep 25 2007 - 19:25:38 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix function declaration:
mm/swap.c:130:22: warning: non-ANSI function declaration of function 'move_tail_pages'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
mm/swap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.23-rc8-mm1.orig/mm/swap.c
+++ linux-2.6.23-rc8-mm1/mm/swap.c
@@ -127,7 +127,7 @@ static void pagevec_move_tail(struct pag

static DEFINE_PER_CPU(struct pagevec, rotate_pvecs) = { 0, };

-void move_tail_pages()
+void move_tail_pages(void)
{
unsigned long flags;
struct pagevec *pvec;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/