Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

audit: Remove "weak" from audit_classify_compat_syscall() declaration

There's only one audit_classify_compat_syscall() definition, so it doesn't
need to be weak.

Remove the "weak" attribute from the audit_classify_compat_syscall()
declaration.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
CC: AKASHI Takahiro <takahiro.akashi@linaro.org>

+1 -1
+1 -1
include/linux/audit.h
··· 90 90 extern unsigned compat_chattr_class[]; 91 91 extern unsigned compat_signal_class[]; 92 92 93 - extern int __weak audit_classify_compat_syscall(int abi, unsigned syscall); 93 + extern int audit_classify_compat_syscall(int abi, unsigned syscall); 94 94 95 95 /* audit_names->type values */ 96 96 #define AUDIT_TYPE_UNKNOWN 0 /* we don't know yet */