Skip to content

Commit 7f32a25

Browse files
rddunlapLinus Torvalds
authored andcommitted
[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>
1 parent 266bee8 commit 7f32a25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/acct.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ void acct_collect(long exitcode, int group_dead)
576576
*
577577
* handles process accounting for an exiting task
578578
*/
579-
void acct_process()
579+
void acct_process(void)
580580
{
581581
struct file *file = NULL;
582582

0 commit comments

Comments
 (0)