Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
7f32a25f 266bee88

+1 -1
+1 -1
kernel/acct.c
··· 576 576 * 577 577 * handles process accounting for an exiting task 578 578 */ 579 - void acct_process() 579 + void acct_process(void) 580 580 { 581 581 struct file *file = NULL; 582 582