Skip to contentSkip to conversation

cure compiler warning in acct.h

PATCH New Christoph Hellwig 1 participant 1 message Nov 28, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cure compiler warning in acct.h

Don't ask me why, but since 2.5.50 we need this forward-declaration

include/linux/acct.h +2 -0
@@ -75,6 +75,8 @@
 
 #include <linux/config.h>
 
+struct super_block;
+
 #ifdef CONFIG_BSD_PROCESS_ACCT
 extern void acct_auto_close(struct super_block *sb);
 extern int acct_process(long exitcode);