Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys revert part of previous and change cpu_wait prototyp...



details:   https://anonhg.NetBSD.org/src/rev/8cda3e033579
branches:  trunk
changeset: 504347:8cda3e033579
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Feb 27 22:10:27 2001 +0000

description:
revert part of previous and change cpu_wait prototype back to using __P():
        void cpu_wait __P((struct proc *));
until there's consensus on the correct way to fix this, ports that
#define cpu_wait should at least be able to compile again.

diffstat:

 sys/sys/proc.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 6e2b26378882 -r 8cda3e033579 sys/sys/proc.h
--- a/sys/sys/proc.h    Tue Feb 27 22:00:19 2001 +0000
+++ b/sys/sys/proc.h    Tue Feb 27 22:10:27 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.122 2001/02/26 16:32:48 lukem Exp $ */
+/*     $NetBSD: proc.h,v 1.123 2001/02/27 22:10:27 lukem Exp $ */
 
 /*-
  * Copyright (c) 1986, 1989, 1991, 1993
@@ -426,11 +426,16 @@
 void   rqinit(void);
 int    groupmember(gid_t, struct ucred *);
 void   cpu_switch(struct proc *);
-void   cpu_wait(struct proc *);
 void   cpu_exit(struct proc *);
 void   cpu_fork(struct proc *, struct proc *, void *, size_t,
            void (*)(void *), void *);
 
+               /*
+                * XXX: use __P() to allow ports to have as a #define.
+                * XXX: we need a better way to solve this.
+                */
+void   cpu_wait __P((struct proc *));
+
 void   child_return(void *);
 
 int    proc_isunder(struct proc *, struct proc*);



Home | Main Index | Thread Index | Old Index