Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/passwd fix compile error without USE_PAM (-Werror, -W...



details:   https://anonhg.NetBSD.org/src/rev/94d4111e0f3e
branches:  trunk
changeset: 827079:94d4111e0f3e
user:      ryo <ryo%NetBSD.org@localhost>
date:      Thu Oct 12 05:00:23 2017 +0000

description:
fix compile error without USE_PAM (-Werror,-Wmissing-noreturn)

diffstat:

 usr.bin/passwd/passwd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3ea09119d635 -r 94d4111e0f3e usr.bin/passwd/passwd.c
--- a/usr.bin/passwd/passwd.c   Thu Oct 12 03:31:39 2017 +0000
+++ b/usr.bin/passwd/passwd.c   Thu Oct 12 05:00:23 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: passwd.c,v 1.31 2016/09/03 02:24:04 sevan Exp $        */
+/*     $NetBSD: passwd.c,v 1.32 2017/10/12 05:00:23 ryo Exp $  */
 
 /*
  * Copyright (c) 1988, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "from: @(#)passwd.c    8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: passwd.c,v 1.31 2016/09/03 02:24:04 sevan Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.32 2017/10/12 05:00:23 ryo Exp $");
 #endif
 #endif /* not lint */
 
@@ -231,7 +231,7 @@
        { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
 };
  
-static void
+static void __attribute__((__noreturn__))
 usage(void)
 {
        int i;



Home | Main Index | Thread Index | Old Index