summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/jail.24
-rw-r--r--sys/sys/jail.h10
2 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index 0fe7398..fe794a8 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -6,7 +6,7 @@
.\"this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
.\"----------------------------------------------------------------------------
.\"
-.\"$Id: malloc.c,v 1.44 1999/03/28 14:16:05 phk Exp $
+.\"$Id: jail.2,v 1.1 1999/04/28 11:38:35 phk Exp $
.\"
.\"
.Dd April 28, 1999
@@ -19,7 +19,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/jail.h>
.Ft int
-.Fn jail "struct *jail"
+.Fn jail "struct jail *jail"
.Sh DESCRIPTION
The
.Nm
diff --git a/sys/sys/jail.h b/sys/sys/jail.h
index aea9bf5..aae7142 100644
--- a/sys/sys/jail.h
+++ b/sys/sys/jail.h
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: loran.c,v 1.15 1999/04/11 03:06:06 eivind Exp $
+ * $Id: jail.h,v 1.1 1999/04/28 11:38:03 phk Exp $
*
*/
@@ -19,14 +19,18 @@ struct jail {
u_int32_t ip_number;
};
-#ifdef KERNEL
+#ifndef KERNEL
+
+int jail __P((struct jail *));
+
+#else /* KERNEL */
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_PRISON);
#endif
/*
- * This structure describes a prison. It is pointed to by all struct
+ * This structure describes a prison. It is pointed to by all struct
* proc's of the inmates. pr_ref keeps track of them and is used to
* delete the struture when the last inmate is dead.
*/
OpenPOWER on IntegriCloud