summaryrefslogtreecommitdiffstats
path: root/include/exec_shell.h
diff options
context:
space:
mode:
authorKarel Zak2018-02-01 12:25:39 +0100
committerKarel Zak2018-02-01 12:25:39 +0100
commit117d079199a723d06cfd4daee386a0e54423e8ba (patch)
treed08a06d1f2094de75e4e7b58afcbb605c1f91b5d /include/exec_shell.h
parentMerge branch 'libblkid-atari' of https://github.com/yontalcar/util-linux (diff)
downloadkernel-qcow2-util-linux-117d079199a723d06cfd4daee386a0e54423e8ba.tar.gz
kernel-qcow2-util-linux-117d079199a723d06cfd4daee386a0e54423e8ba.tar.xz
kernel-qcow2-util-linux-117d079199a723d06cfd4daee386a0e54423e8ba.zip
lib/exec_shell: cleanup function attributes
Reported-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/exec_shell.h')
-rw-r--r--include/exec_shell.h7
1 files changed, 6 insertions, 1 deletions
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 */