Fix sparse warnings: kernel/auditsc.c:138:32: warning: symbol 'audit_nfcfgs' was not declared. Should it be static?
Unified · Split
| @@ -135,7 +135,7 @@ struct audit_nfcfgop_tab { · 134 unmodified lines | ||
| 135 | 135 | const char *s; |
| 136 | 136 | }; |
| 137 | 137 | |
| 138 | −const struct audit_nfcfgop_tab audit_nfcfgs[] = { | |
| 138 | +static const struct audit_nfcfgop_tab audit_nfcfgs[] = { | |
| 139 | 139 | { AUDIT_XT_OP_REGISTER, "register" }, |
| 140 | 140 | { AUDIT_XT_OP_REPLACE, "replace" }, |
| 141 | 141 | { AUDIT_XT_OP_UNREGISTER, "unregister" }, |