From 6b2def45ea0e5e1f999a06a6b2bd175662024abc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 18 Dec 2015 11:55:53 +0100 Subject: dco + do not require gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/login.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/login.h') diff --git a/src/login.h b/src/login.h index 53a39cb..bfa088a 100644 --- a/src/login.h +++ b/src/login.h @@ -56,7 +56,10 @@ void set_environ(struct passwd* entry, char preserve_env); * * @param entry The user entry in the password file */ -void exec_shell(struct passwd* entry) __attribute__((noreturn)); +#ifdef __GNUC__ +__attribute__((noreturn)) +#endif +void exec_shell(struct passwd* entry); #endif -- cgit v1.2.3-70-g09d2