[PATCH} kernel/acct: fix function definition
From: Randy Dunlap <[email protected]>
kernel/acct.c:579:19: warning: non-ANSI function declaration of function 'acct_process'
Signed-off-by Randy Dunlap <[email protected]>
--- kernel/acct.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
kernel/acct.c +1 -1
@@ -576,7 +576,7 @@ void acct_collect(long exitcode, int gro* * handles process accounting for an exiting task */ -void acct_process () +void acct_process (void ) {struct file *file =NULL ;
---