From 117d079199a723d06cfd4daee386a0e54423e8ba Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 1 Feb 2018 12:25:39 +0100 Subject: lib/exec_shell: cleanup function attributes Reported-by: Sami Kerola Signed-off-by: Karel Zak --- include/exec_shell.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/exec_shell.h') diff --git a/include/exec_shell.h b/include/exec_shell.h index a2aa757de..04aa089cc 100644 --- a/include/exec_shell.h +++ b/include/exec_shell.h @@ -1 +1,6 @@ -extern void __attribute__((__noreturn__)) exec_shell(void); +#ifndef UTIL_LINUX_EXEC_SHELL_H +#define UTIL_LINUX_EXEC_SHELL_H + +extern void exec_shell(void) __attribute__((__noreturn__)); + +#endif /* UTIL_LINUX_EXEC_SHELL_H */ -- cgit v1.2.3-55-g7522