[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070925162435.d9563b44.randy.dunlap@oracle.com>
Date: Tue, 25 Sep 2007 16:24:35 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>
Subject: [PATCH -mm] swap: fix function declaration
From: Randy Dunlap <randy.dunlap@...cle.com>
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@...cle.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists