aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-02-23 19:44:10 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-02-23 19:44:10 +0000
commitdedb7b623c1b7ec0048771928119c43e6e051643 (patch)
tree1bab2c3ccafd3973075a6ecd1a0abba3f4e08a6a /sys/kern/init_main.c
parentdabee6fecc6720bf2989803edd8a394883055bf9 (diff)
downloadsrc-dedb7b623c1b7ec0048771928119c43e6e051643.tar.gz
src-dedb7b623c1b7ec0048771928119c43e6e051643.zip
Garrett pointed out that the correct place for unix system call args
is <sys/unistd.h>, with the prototype in <unistd.h>. sys/unistd.h is visible to the kernel compile, and is #included by unistd.h. Also, I missed a reference to a static int in the midst of my other diffs.
Notes
Notes: svn path=/head/; revision=14222
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 7e1bb1d972e3..cfd8918f1fc6 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.36 1995/12/10 13:45:11 phk Exp $
+ * $Id: init_main.c,v 1.37 1996/01/19 03:57:59 dyson Exp $
*/
#include <sys/param.h>
@@ -98,7 +98,7 @@ static struct vmspace vmspace0;
struct proc *curproc = &proc0;
struct proc *initproc;
-static int cmask = CMASK;
+int cmask = CMASK;
extern struct user *proc0paddr;
struct vnode *rootvp;