summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-03 14:54:48 +0000
committerbde <bde@FreeBSD.org>1995-12-03 14:54:48 +0000
commit64a1fca498baa82452b7832f03fb52d55b65861e (patch)
treea9998e1f2bc07a055eec218c76160973d186c314 /sys/fs/procfs
parent1a0a9cf4f5008de06188ddc5eefe1b6e156a792b (diff)
downloadFreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.zip
FreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.tar.gz
Added prototypes.
Removed some unnecessary #includes.
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r--sys/fs/procfs/procfs_ctl.c4
-rw-r--r--sys/fs/procfs/procfs_mem.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c
index dc4d5e5..700b619 100644
--- a/sys/fs/procfs/procfs_ctl.c
+++ b/sys/fs/procfs/procfs_ctl.c
@@ -36,7 +36,7 @@
*
* @(#)procfs_ctl.c 8.3 (Berkeley) 1/21/94
*
- * $Id: procfs_ctl.c,v 1.5 1995/03/16 18:13:46 bde Exp $
+ * $Id: procfs_ctl.c,v 1.6 1995/07/16 10:12:50 bde Exp $
*/
#include <sys/param.h>
@@ -111,6 +111,8 @@ static vfs_namemap_t signames[] = {
{ 0 },
};
+static int procfs_control __P((struct proc *curp, struct proc *p, int op));
+
static int
procfs_control(curp, p, op)
struct proc *curp;
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c
index ee331ae..c75665a 100644
--- a/sys/fs/procfs/procfs_mem.c
+++ b/sys/fs/procfs/procfs_mem.c
@@ -37,7 +37,7 @@
*
* @(#)procfs_mem.c 8.4 (Berkeley) 1/21/94
*
- * $Id: procfs_mem.c,v 1.9 1995/07/13 08:47:48 davidg Exp $
+ * $Id: procfs_mem.c,v 1.10 1995/10/23 04:28:59 dyson Exp $
*/
/*
@@ -56,6 +56,8 @@
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
+static int procfs_rwmem __P((struct proc *p, struct uio *uio));
+
static int
procfs_rwmem(p, uio)
struct proc *p;
OpenPOWER on IntegriCloud