--- linux/kernel/acct.c257dj2 Wed Mar 27 23:52:37 2002 +++ linux/kernel/acct.c Thu Mar 28 17:04:49 2002 @@ -232,6 +232,7 @@ * If the accouting is turned on for a file in the filesystem pointed * to by sb, turn accouting off. */ +#ifdef CONFIG_BSD_PROCESS_ACCT void acct_auto_close(struct super_block *sb) { spin_lock(&acct_globals.lock); @@ -241,6 +242,7 @@ } spin_unlock(&acct_globals.lock); } +#endif /* * encode an unsigned long into a comp_t @@ -375,6 +377,7 @@ /* * acct_process - now just a wrapper around do_acct_process */ +#ifdef CONFIG_BSD_PROCESS_ACCT int acct_process(long exitcode) { struct file *file = NULL; @@ -389,3 +392,4 @@ spin_unlock(&acct_globals.lock); return 0; } +#endif