diff options
| author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-18 11:55:53 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-18 11:55:53 +0100 |
| commit | 6b2def45ea0e5e1f999a06a6b2bd175662024abc (patch) | |
| tree | b17188d4bf621f35ec0fe4fc420ff9fcfca470a3 /src/login.h | |
| parent | update to new version of libpassphrase (diff) | |
| download | cerberus-6b2def45ea0e5e1f999a06a6b2bd175662024abc.tar.gz cerberus-6b2def45ea0e5e1f999a06a6b2bd175662024abc.tar.bz2 cerberus-6b2def45ea0e5e1f999a06a6b2bd175662024abc.tar.xz | |
dco + do not require gcc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/login.h')
| -rw-r--r-- | src/login.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
