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/22e6c3d03782
branches: trunk
changeset: 356778:22e6c3d03782
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 08cd899fb184 -r 22e6c3d03782 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