aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32/audit.c
diff options
context:
space:
mode:
authorBenjamin Thiel <b.thiel@posteo.de>2020-05-16 14:38:16 +0200
committerBorislav Petkov <bp@suse.de>2020-05-19 18:03:07 +0200
commit0e5e3d4461a22d739fb2284a6e313fb6cecf2871 (patch)
tree7d7484aa380b6e083933c449e534677f19b5e29c /arch/x86/ia32/audit.c
parentx86/nmi: Remove edac.h include leftover (diff)
downloadlinux-dev-0e5e3d4461a22d739fb2284a6e313fb6cecf2871.tar.xz
linux-dev-0e5e3d4461a22d739fb2284a6e313fb6cecf2871.zip
x86/audit: Fix a -Wmissing-prototypes warning for ia32_classify_syscall()
Lift the prototype of ia32_classify_syscall() into its own header. Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200516123816.2680-1-b.thiel@posteo.de
Diffstat (limited to 'arch/x86/ia32/audit.c')
-rw-r--r--arch/x86/ia32/audit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/ia32/audit.c b/arch/x86/ia32/audit.c
index 3d21eab7aaed..6efe6cb3768a 100644
--- a/arch/x86/ia32/audit.c
+++ b/arch/x86/ia32/audit.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <asm/unistd_32.h>
+#include <asm/audit.h>
unsigned ia32_dir_class[] = {
#include <asm-generic/audit_dir_write.h>