summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-06-27 11:53:25 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-28 02:32:35 +0200
commit7f32a25f63358aa993a3403c047f3ecfa6d96367 (patch)
tree59e26d49f6b242b5218e63cdb9b5e2f2e97f38e4 /kernel
parent[PATCH] fix static linking of NFS (diff)
downloadlinux-7f32a25f63358aa993a3403c047f3ecfa6d96367.tar.xz
linux-7f32a25f63358aa993a3403c047f3ecfa6d96367.zip
[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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/acct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index 368c4f03fe0e..4c613de66025 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;