diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-16 10:51:52 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-16 10:51:52 +0000 |
| commit | d8bd3ac418914c18b1d6e0844229d718c5cb22fc (patch) | |
| tree | cc27681f532523446e03ebdde60864c932f8cb3e | |
| parent | f840bacd9a6b21a89ce69f9c37d7984f9bc0928d (diff) | |
Notes
| -rw-r--r-- | lib/libc/sys/jail.2 | 4 | ||||
| -rw-r--r-- | sys/sys/jail.h | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index 0fe73989c163..fe794a82329d 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 aea9bf586e38..aae714210a45 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. */ |
