Module Name: src Committed By: riastradh Date: Wed Apr 29 07:18:24 UTC 2020
Modified Files: src/sys/miscfs/procfs: procfs.h Log Message: Put forward declaration a little further forward to unbreak build. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/miscfs/procfs/procfs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/miscfs/procfs/procfs.h diff -u src/sys/miscfs/procfs/procfs.h:1.79 src/sys/miscfs/procfs/procfs.h:1.80 --- src/sys/miscfs/procfs/procfs.h:1.79 Wed Apr 29 01:56:54 2020 +++ src/sys/miscfs/procfs/procfs.h Wed Apr 29 07:18:24 2020 @@ -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 @@ struct vfs_namemap { 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 *);