* [PATCH -mm] swap: fix function declaration
@ 2007-09-25 23:24 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2007-09-25 23:24 UTC (permalink / raw)
To: lkml; +Cc: akpm
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-25 23:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-25 23:24 [PATCH -mm] swap: fix function declaration Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®