Remove unused !AUDIT audit_proc_*() prototypes: unlike in Mac OS X, we

don't define or use these functions if AUDIT isn't configured.

Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2007-05-30 11:41:28 +00:00
parent 1f84423bdf
commit 34bf2d2c18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170132
2 changed files with 0 additions and 23 deletions

View File

@ -214,10 +214,6 @@ void audit_thread_free(struct thread *td);
#else /* !AUDIT */
void audit_proc_init(struct proc *p);
void audit_proc_fork(struct proc *parent, struct proc *child);
void audit_proc_free(struct proc *p);
#define AUDIT_ARG(op, args...) do { \
} while (0)

View File

@ -747,23 +747,4 @@ auditctl(struct thread *td, struct auditctl_args *uap)
return (ENOSYS);
}
void
audit_proc_init(struct proc *p)
{
}
void
audit_proc_fork(struct proc *parent, struct proc *child)
{
}
void
audit_proc_free(struct proc *p)
{
}
#endif /* AUDIT */