lkml.org 
[lkml]   [2007]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mm] swap: fix function declaration
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-09-26 01:29    [W:0.024 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site