Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/procfs Put forward declaration a little further f...



details:   https://anonhg.NetBSD.org/src/rev/09e6c5f0dbed
branches:  trunk
changeset: 971598:09e6c5f0dbed
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Apr 29 07:18:24 2020 +0000

description:
Put forward declaration a little further forward to unbreak build.

diffstat:

 sys/miscfs/procfs/procfs.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 153d95641a4e -r 09e6c5f0dbed sys/miscfs/procfs/procfs.h
--- a/sys/miscfs/procfs/procfs.h        Wed Apr 29 06:53:46 2020 +0000
+++ b/sys/miscfs/procfs/procfs.h        Wed Apr 29 07:18:24 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs.h,v 1.79 2020/04/29 01:56:54 thorpej Exp $      */
+/*     $NetBSD: procfs.h,v 1.80 2020/04/29 07:18:24 riastradh Exp $    */
 
 /*
  * Copyright (c) 1993
@@ -209,11 +209,12 @@
 int vfs_getuserstr(struct uio *, char *, int *);
 const vfs_namemap_t *vfs_findname(const vfs_namemap_t *, const char *, int);
 
+struct mount;
+
 struct proc *procfs_proc_find(struct mount *, pid_t);
 bool procfs_use_linux_compat(struct mount *);
 int procfs_proc_lock(struct mount *, int, struct proc **, int);
 void procfs_proc_unlock(struct proc *);
-struct mount;
 int procfs_allocvp(struct mount *, struct vnode **, pid_t, pfstype, int);
 int procfs_donote(struct lwp *, struct proc *, struct pfsnode *,
     struct uio *);



Home | Main Index | Thread Index | Old Index