Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_lfs Fix the function pointer declaration to someth...



details:   https://anonhg.NetBSD.org/src/rev/b2e131f09c8e
branches:  trunk
changeset: 986289:b2e131f09c8e
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 17 22:41:48 2021 +0000

description:
Fix the function pointer declaration to something lint likes.

diffstat:

 sbin/fsck_lfs/vnode.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 327aae3bf469 -r b2e131f09c8e sbin/fsck_lfs/vnode.h
--- a/sbin/fsck_lfs/vnode.h     Fri Sep 17 21:22:38 2021 +0000
+++ b/sbin/fsck_lfs/vnode.h     Fri Sep 17 22:41:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vnode.h,v 1.5 2017/06/09 00:13:08 chs Exp $ */
+/* $NetBSD: vnode.h,v 1.6 2021/09/17 22:41:48 christos Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -72,5 +72,5 @@
 
 void vnode_destroy(struct uvnode *);
 struct uvnode *vget(void *, ino_t);
-void register_vget(void *, struct uvnode *(void *, ino_t));
+void register_vget(void *, struct uvnode *(*)(void *, ino_t));
 void vfs_init(void);



Home | Main Index | Thread Index | Old Index