summaryrefslogtreecommitdiff
path: root/sftp.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-13 10:22:54 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-13 10:22:54 +1000
commitf8b7eb7c3c77625845f4e2a844cc57c0496d414e (patch)
tree83bc292ac1cba86c4f7e13d54e321141b530c01f /sftp.h
parentff4454dbda098d98819a108b76d3508402ab3441 (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp.h b/sftp.h
index b101b95a0..2bde8bb7f 100644
--- a/sftp.h
+++ b/sftp.h
@@ -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 @@
98struct passwd; 98struct passwd;
99 99
100int sftp_server_main(int, char **, struct passwd *); 100int sftp_server_main(int, char **, struct passwd *);
101void sftp_server_cleanup_exit(int) __dead; 101void sftp_server_cleanup_exit(int) __attribute__((noreturn));