HomeFreeBSD

kern_racct.c: Don't compile if RACCT undefined

Description

kern_racct.c: Don't compile if RACCT undefined

Just skip compiling this file if RACCT isn't defined. This allows to
skip including headers that no code uses at all, and also to remove the
whole file's #ifdef/#endif bracketing.

Reviewed by: markj
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 7fa08d415283c9a0c1e2b57edfbb13d722c25735)

Approved by: emaste (mentor)

Details

Provenance
olceAuthored on Nov 21 2023, 5:33 PM
Parents
rGb689353a46b6: kern_rctl.c: Minimal includes when RCTL not defined
Branches
Unknown
Tags
Unknown