[PATCH} kernel/acct: fix function definition

From: Randy.Dunlap
Date: Mon Jun 26 2006 - 01:28:39 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

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

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/