summaryrefslogtreecommitdiff
path: root/libexec/lfs_cleanerd
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2001-02-04 22:12:47 +0000
committerchristos <christos@NetBSD.org>2001-02-04 22:12:47 +0000
commit75ac9bb540cdad2c3a0a5f73ba30ab1c190692b4 (patch)
treee1beeb8390ad32b34e85688d75e045b85db89126 /libexec/lfs_cleanerd
parentfc18ea29316de47d3d3599c478b668e4b1dbcdcc (diff)
remove redundant declarations.
Diffstat (limited to 'libexec/lfs_cleanerd')
-rw-r--r--libexec/lfs_cleanerd/clean.h4
-rw-r--r--libexec/lfs_cleanerd/cleanerd.c5
-rw-r--r--libexec/lfs_cleanerd/library.c5
3 files changed, 6 insertions, 8 deletions
diff --git a/libexec/lfs_cleanerd/clean.h b/libexec/lfs_cleanerd/clean.h
index 94aa7e7fb77..bb258dc0559 100644
--- a/libexec/lfs_cleanerd/clean.h
+++ b/libexec/lfs_cleanerd/clean.h
@@ -1,4 +1,4 @@
-/* $NetBSD: clean.h,v 1.9 1999/11/09 20:33:37 perseant Exp $ */
+/* $NetBSD: clean.h,v 1.10 2001/02/04 22:12:47 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -113,8 +113,6 @@ typedef struct fs_info {
__BEGIN_DECLS
int dump_summary __P((struct lfs *, SEGSUM *, u_long, daddr_t **, daddr_t));
-void err __P((const int, const char *, ...));
-void warn __P((const char *, ...));
int fs_getmntinfo __P((struct statfs **, char *, const char *));
void get __P((int, off_t, void *, size_t));
FS_INFO *get_fs_info __P((struct statfs *, int));
diff --git a/libexec/lfs_cleanerd/cleanerd.c b/libexec/lfs_cleanerd/cleanerd.c
index 9b40b0f77f2..988589e4a78 100644
--- a/libexec/lfs_cleanerd/cleanerd.c
+++ b/libexec/lfs_cleanerd/cleanerd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cleanerd.c,v 1.29 2001/01/16 02:41:17 cgd Exp $ */
+/* $NetBSD: cleanerd.c,v 1.30 2001/02/04 22:12:47 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
#if 0
static char sccsid[] = "@(#)cleanerd.c 8.5 (Berkeley) 6/10/95";
#else
-__RCSID("$NetBSD: cleanerd.c,v 1.29 2001/01/16 02:41:17 cgd Exp $");
+__RCSID("$NetBSD: cleanerd.c,v 1.30 2001/02/04 22:12:47 christos Exp $");
#endif
#endif /* not lint */
@@ -62,6 +62,7 @@ __RCSID("$NetBSD: cleanerd.c,v 1.29 2001/01/16 02:41:17 cgd Exp $");
#include <unistd.h>
#include <util.h>
#include <errno.h>
+#include <err.h>
#include <syslog.h>
diff --git a/libexec/lfs_cleanerd/library.c b/libexec/lfs_cleanerd/library.c
index 8861c8d6884..6bc97054596 100644
--- a/libexec/lfs_cleanerd/library.c
+++ b/libexec/lfs_cleanerd/library.c
@@ -1,4 +1,4 @@
-/* $NetBSD: library.c,v 1.20 2001/01/10 01:13:55 lukem Exp $ */
+/* $NetBSD: library.c,v 1.21 2001/02/04 22:12:47 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)library.c 8.3 (Berkeley) 5/24/95";
#else
-__RCSID("$NetBSD: library.c,v 1.20 2001/01/10 01:13:55 lukem Exp $");
+__RCSID("$NetBSD: library.c,v 1.21 2001/02/04 22:12:47 christos Exp $");
#endif
#endif /* not lint */
@@ -72,7 +72,6 @@ void get_ifile __P((FS_INFO *, int));
int get_superblock __P((FS_INFO *, struct lfs *));
int pseg_valid __P((FS_INFO *, SEGSUM *, daddr_t));
int pseg_size __P((daddr_t, FS_INFO *, SEGSUM *));
-void print_SEGSUM __P((struct lfs *, SEGSUM *, daddr_t));
extern int debug;
extern u_long cksum __P((void *, size_t)); /* XXX */