diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-13 10:22:54 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-13 10:22:54 +1000 |
commit | f8b7eb7c3c77625845f4e2a844cc57c0496d414e (patch) | |
tree | 83bc292ac1cba86c4f7e13d54e321141b530c01f /sftp.h | |
parent | ff4454dbda098d98819a108b76d3508402ab3441 (diff) |
- dtucker@cvs.openbsd.org 2008/06/13 00:12:02
[sftp.h log.h]
replace __dead with __attribute__((noreturn)), makes things
a little easier to port. Also, add it to sigdie(). ok djm@
Diffstat (limited to 'sftp.h')
-rw-r--r-- | sftp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.h,v 1.8 2008/04/18 12:32:11 djm Exp $ */ | 1 | /* $OpenBSD: sftp.h,v 1.9 2008/06/13 00:12:02 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -98,4 +98,4 @@ | |||
98 | struct passwd; | 98 | struct passwd; |
99 | 99 | ||
100 | int sftp_server_main(int, char **, struct passwd *); | 100 | int sftp_server_main(int, char **, struct passwd *); |
101 | void sftp_server_cleanup_exit(int) __dead; | 101 | void sftp_server_cleanup_exit(int) __attribute__((noreturn)); |