Module Name: src Committed By: ryo Date: Thu Oct 12 05:00:23 UTC 2017
Modified Files: src/usr.bin/passwd: passwd.c Log Message: fix compile error without USE_PAM (-Werror,-Wmissing-noreturn) To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/passwd/passwd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/passwd/passwd.c diff -u src/usr.bin/passwd/passwd.c:1.31 src/usr.bin/passwd/passwd.c:1.32 --- src/usr.bin/passwd/passwd.c:1.31 Sat Sep 3 02:24:04 2016 +++ src/usr.bin/passwd/passwd.c Thu Oct 12 05:00:23 2017 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 19 #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 @@ static struct pw_module_s { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; -static void +static void __attribute__((__noreturn__)) usage(void) { int i;