From: Randy Dunlap Date: Tue, 27 Jun 2006 09:53:25 +0000 (-0700) Subject: [PATCH] kernel/acct: fix function definition X-Git-Tag: v2.6.18-rc1~590 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f32a25f63358aa993a3403c047f3ecfa6d96367;p=linux-2.6 [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 368c4f03fe..4c613de660 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;