Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Unconditionalize `rval' declaration referenced ...
details: https://anonhg.NetBSD.org/src/rev/31d91afe77d5
branches: trunk
changeset: 472312:31d91afe77d5
user: ross <ross%NetBSD.org@localhost>
date: Tue Apr 27 06:08:58 1999 +0000
description:
Unconditionalize `rval' declaration referenced in usr.bin/chpass/ via .PATH
diffstat:
lib/libc/gen/getpwent.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 1aef80032418 -r 31d91afe77d5 lib/libc/gen/getpwent.c
--- a/lib/libc/gen/getpwent.c Tue Apr 27 06:02:09 1999 +0000
+++ b/lib/libc/gen/getpwent.c Tue Apr 27 06:08:58 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getpwent.c,v 1.43 1999/04/26 04:01:32 lukem Exp $ */
+/* $NetBSD: getpwent.c,v 1.44 1999/04/27 06:08:58 ross Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)getpwent.c 8.2 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: getpwent.c,v 1.43 1999/04/26 04:01:32 lukem Exp $");
+__RCSID("$NetBSD: getpwent.c,v 1.44 1999/04/27 06:08:58 ross Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -734,11 +734,12 @@
va_list ap;
{
DBT key;
+ int rval;
char bf[sizeof(_pw_keynum) + 1];
#ifdef _PASSWD_COMPAT
static char *name = NULL;
const char *user, *host, *dom;
- int has_compatpw, rval;
+ int has_compatpw;
#endif
if (!_pw_db && !__initdb())
Home |
Main Index |
Thread Index |
Old Index