Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Omit duplicate forward declaration of cache_invalid...



details:   https://anonhg.NetBSD.org/src/rev/537591059e16
branches:  trunk
changeset: 822413:537591059e16
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Mar 18 22:04:52 2017 +0000

description:
Omit duplicate forward declaration of cache_invalidate.

diffstat:

 sys/kern/vfs_cache.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 3d0d9b45cbb4 -r 537591059e16 sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c      Sat Mar 18 22:02:11 2017 +0000
+++ b/sys/kern/vfs_cache.c      Sat Mar 18 22:04:52 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_cache.c,v 1.118 2017/03/18 22:02:11 riastradh Exp $        */
+/*     $NetBSD: vfs_cache.c,v 1.119 2017/03/18 22:04:52 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.118 2017/03/18 22:02:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.119 2017/03/18 22:04:52 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -278,7 +278,6 @@
 static struct evcnt cache_ev_under;
 static struct evcnt cache_ev_forced;
 
-static void cache_invalidate(struct namecache *);
 static struct namecache *cache_lookup_entry(
     const struct vnode *, const char *, size_t);
 static void cache_thread(void *);



Home | Main Index | Thread Index | Old Index