lkml.org 
[lkml]   [2006]   [Jun]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 25 Jun 2006 22:31:34 -0700
From"Randy.Dunlap" <>
Subject[PATCH} kernel/acct: fix function definition
From: Randy Dunlap <rdunlap@xenotime.net>

kernel/acct.c:579:19: warning: non-ANSI function declaration of function 'acct_process'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 kernel/acct.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2617-g9.orig/kernel/acct.c
+++ linux-2617-g9/kernel/acct.c
@@ -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;
 

---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-26 07:32    [from the cache]
©2003-2008