Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libutil Oops - declare static functions.
details: https://anonhg.NetBSD.org/src/rev/3d49e3bee8bd
branches: trunk
changeset: 494443:3d49e3bee8bd
user: ad <ad%NetBSD.org@localhost>
date: Thu Jul 06 13:39:47 2000 +0000
description:
Oops - declare static functions.
diffstat:
lib/libutil/passwd.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 7d9367caab2b -r 3d49e3bee8bd lib/libutil/passwd.c
--- a/lib/libutil/passwd.c Thu Jul 06 13:09:46 2000 +0000
+++ b/lib/libutil/passwd.c Thu Jul 06 13:39:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: passwd.c,v 1.21 2000/07/06 13:09:47 ad Exp $ */
+/* $NetBSD: passwd.c,v 1.22 2000/07/06 13:39:47 ad Exp $ */
/*
* Copyright (c) 1987, 1993, 1994, 1995
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: passwd.c,v 1.21 2000/07/06 13:09:47 ad Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.22 2000/07/06 13:39:47 ad Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -61,6 +61,9 @@
static void pw_cont(int sig);
static int pw_equal(char *buf, struct passwd *old_pw);
+static const char *pw_default(const char *option);
+static int read_line(FILE *fp, char *line, int max);
+static void trim_whitespace(char *line);
int
pw_lock(int retries)
Home |
Main Index |
Thread Index |
Old Index