Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/cap_mkdb make local functions static
details: https://anonhg.NetBSD.org/src/rev/c75a6f46a664
branches: trunk
changeset: 503006:c75a6f46a664
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Jan 28 19:42:17 2001 +0000
description:
make local functions static
diffstat:
usr.bin/cap_mkdb/cap_mkdb.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (58 lines):
diff -r 54cb34b62db7 -r c75a6f46a664 usr.bin/cap_mkdb/cap_mkdb.c
--- a/usr.bin/cap_mkdb/cap_mkdb.c Sun Jan 28 19:26:34 2001 +0000
+++ b/usr.bin/cap_mkdb/cap_mkdb.c Sun Jan 28 19:42:17 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cap_mkdb.c,v 1.13 2001/01/28 17:34:31 jdolecek Exp $ */
+/* $NetBSD: cap_mkdb.c,v 1.14 2001/01/28 19:42:17 jdolecek Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)cap_mkdb.c 8.2 (Berkeley) 4/27/95";
#endif
-__RCSID("$NetBSD: cap_mkdb.c,v 1.13 2001/01/28 17:34:31 jdolecek Exp $");
+__RCSID("$NetBSD: cap_mkdb.c,v 1.14 2001/01/28 19:42:17 jdolecek Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -57,9 +57,9 @@
#include <string.h>
#include <unistd.h>
-void db_build (char **);
-void dounlink (void);
-void usage (void);
+static void db_build (char **);
+static void dounlink (void);
+static void usage (void);
DB *capdbp;
int verbose;
@@ -138,7 +138,7 @@
exit(0);
}
-void
+static void
dounlink(void)
{
if (capname != NULL)
@@ -157,7 +157,7 @@
* Db_build() builds the name and capabilty databases according to the
* details above.
*/
-void
+static void
db_build(char **ifiles)
{
DBT key, data;
@@ -260,7 +260,7 @@
(void)printf("cap_mkdb: %d capability records\n", reccnt);
}
-void
+static void
usage(void)
{
(void)fprintf(stderr,
Home |
Main Index |
Thread Index |
Old Index