Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/lfs_cleanerd remove redundant declarations.



details:   https://anonhg.NetBSD.org/src/rev/4e86bea842fb
branches:  trunk
changeset: 503341:4e86bea842fb
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 04 22:12:47 2001 +0000

description:
remove redundant declarations.

diffstat:

 libexec/lfs_cleanerd/clean.h    |  4 +---
 libexec/lfs_cleanerd/cleanerd.c |  5 +++--
 libexec/lfs_cleanerd/library.c  |  5 ++---
 3 files changed, 6 insertions(+), 8 deletions(-)

diffs (70 lines):

diff -r e12abe32013a -r 4e86bea842fb libexec/lfs_cleanerd/clean.h
--- a/libexec/lfs_cleanerd/clean.h      Sun Feb 04 22:11:12 2001 +0000
+++ b/libexec/lfs_cleanerd/clean.h      Sun Feb 04 22:12:47 2001 +0000
@@ -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 @@
 
 __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 -r e12abe32013a -r 4e86bea842fb libexec/lfs_cleanerd/cleanerd.c
--- a/libexec/lfs_cleanerd/cleanerd.c   Sun Feb 04 22:11:12 2001 +0000
+++ b/libexec/lfs_cleanerd/cleanerd.c   Sun Feb 04 22:12:47 2001 +0000
@@ -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 @@
 #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 @@
 #include <unistd.h>
 #include <util.h>
 #include <errno.h>
+#include <err.h>
 
 #include <syslog.h>
 
diff -r e12abe32013a -r 4e86bea842fb libexec/lfs_cleanerd/library.c
--- a/libexec/lfs_cleanerd/library.c    Sun Feb 04 22:11:12 2001 +0000
+++ b/libexec/lfs_cleanerd/library.c    Sun Feb 04 22:12:47 2001 +0000
@@ -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 @@
 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 */



Home | Main Index | Thread Index | Old Index