From: Randy Dunlap Date: Tue, 27 Jun 2006 09:53:25 +0000 (-0700) Subject: [PATCH] kernel/acct: fix function definition X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f32a25f63358aa993a3403c047f3ecfa6d96367;p=linux-beck.git [PATCH] kernel/acct: fix function definition kernel/acct.c:579:19: warning: non-ANSI function declaration of function 'acct_process' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/acct.c b/kernel/acct.c index 368c4f03fe0e..4c613de66025 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -576,7 +576,7 @@ void acct_collect(long exitcode, int group_dead) * * handles process accounting for an exiting task */ -void acct_process() +void acct_process(void) { struct file *file = NULL;