summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-11-08 05:38:48 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-11-08 05:38:48 +0000
commitde2fcefba2b81c5fb7c2c7f31f74f84d0eb569a7 (patch)
treeaf16940bc3d886538b24c7c6dfb3aebd5e63410b
parentf7d94bea17b4d73663a6a48f2a02ca5dead8b285 (diff)
If MD code has defined curproc, don't do it here.
This is not a perfect solution.
-rw-r--r--sys/sys/proc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 34553df974a..dd8b7d7924f 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.32 2000/07/07 15:57:01 art Exp $ */
+/* $OpenBSD: proc.h,v 1.33 2000/11/08 05:38:47 art Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
@@ -321,7 +321,9 @@ extern u_long pidhash;
extern LIST_HEAD(pgrphashhead, pgrp) *pgrphashtbl;
extern u_long pgrphash;
+#ifndef curproc
extern struct proc *curproc; /* Current running proc. */
+#endif
extern struct proc proc0; /* Process slot for swapper. */
extern int nprocs, maxproc; /* Current and max number of procs. */
extern int randompid; /* fork() should create random pid's */