Flask: drop bogus struct forwards decls
PATCH 1/1 Flask: drop bogus struct forwards decls
struct avc_entry doesn't need forward-declaring, it's entirely local to avc.c.
The other struct-s are Linux ones, which aren't used anywhere at all. (struct inode appears in commented out code in rbtree.h.)
Signed-off-by Jan Beulich <[email protected]>
---
Noticed while looking for patterns similar to what Andrew's
https://lists.xen.org/archives/html/xen-devel/2026-11/msg00798.html
eliminates.
xen/xsm/flask/include/avc.h +0 -12
@@ -20,18 +20,6 @@extern bool flask_enforcing; -/* -* An entry in the AVC. -*/ -struct avc_entry ; - -struct task_struct ; -struct vfsmount ; -struct dentry ; -struct inode ; -struct sock ; -struct sk_buff ; -/* Auxiliary data to use in generating the audit record. */ struct avc_audit_data {char type;