Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist annotate pthread_exit as __...



details:   https://anonhg.NetBSD.org/src/rev/349a0e587493
branches:  trunk
changeset: 366449:349a0e587493
user:      tnn <tnn%NetBSD.org@localhost>
date:      Mon Aug 27 17:47:48 2018 +0000

description:
annotate pthread_exit as __dead (to appease clang)

diffstat:

 crypto/external/bsd/openssh/dist/auth-pam.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 605201044f74 -r 349a0e587493 crypto/external/bsd/openssh/dist/auth-pam.c
--- a/crypto/external/bsd/openssh/dist/auth-pam.c       Mon Aug 27 17:17:25 2018 +0000
+++ b/crypto/external/bsd/openssh/dist/auth-pam.c       Mon Aug 27 17:47:48 2018 +0000
@@ -51,7 +51,7 @@
 /*
  * NetBSD local changes
  */
-__RCSID("$NetBSD: auth-pam.c,v 1.16 2018/08/26 07:46:36 christos Exp $");
+__RCSID("$NetBSD: auth-pam.c,v 1.17 2018/08/27 17:47:48 tnn Exp $");
 #define _LIB_PTHREAD_H
 #undef USE_POSIX_THREADS /* Not yet */
 #define HAVE_SECURITY_PAM_APPL_H
@@ -194,7 +194,7 @@
 }
 
 /* ARGSUSED */
-static void
+__dead static void
 pthread_exit(void *value)
 {
        _exit(0);



Home | Main Index | Thread Index | Old Index