]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] kernel/acct: fix function definition
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 27 Jun 2006 09:53:25 +0000 (02:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:35 +0000 (17:32 -0700)
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>
kernel/acct.c

index 368c4f03fe0e9fd0b7426b650d83a847badb05d7..4c613de660252026dd9ce6a6a50b1c6105583a8d 100644 (file)
@@ -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;