Skip to contentSkip to conversation

[PATCH} kernel/acct: fix function definition

PATCH Randy.Dunlap 1 participant 1 message Jun 26, 2006

lore
Share & tools
lore
#0 lore raw

From: Randy Dunlap <[email protected]>

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

---
 kernel/acct.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
kernel/acct.c +1 -1
@@ -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;
 

---