retire _PROTOTYPE
. only good for obsolete K&R support . also remove a stray ansi.h and the proto cmd
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
#if USE_IRQCTL
|
||||
|
||||
FORWARD _PROTOTYPE(int generic_handler, (irq_hook_t *hook));
|
||||
FORWARD int generic_handler(irq_hook_t *hook);
|
||||
|
||||
/*===========================================================================*
|
||||
* do_irqctl *
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#define PRIV_DEBUG 0
|
||||
|
||||
FORWARD _PROTOTYPE(int update_priv, (struct proc *rp, struct priv *priv));
|
||||
FORWARD int update_priv(struct proc *rp, struct priv *priv);
|
||||
|
||||
/*===========================================================================*
|
||||
* do_privctl *
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
#define MEM_TOP 0xFFFFFFFFUL
|
||||
|
||||
FORWARD _PROTOTYPE(int safecopy, (struct proc *, endpoint_t, endpoint_t,
|
||||
cp_grant_id_t, int, int, size_t, vir_bytes, vir_bytes, int));
|
||||
FORWARD int safecopy(struct proc *, endpoint_t, endpoint_t,
|
||||
cp_grant_id_t, int, int, size_t, vir_bytes, vir_bytes, int);
|
||||
|
||||
#define HASGRANTTABLE(gr) \
|
||||
(priv(gr) && priv(gr)->s_grant_table)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#if USE_SETALARM
|
||||
|
||||
FORWARD _PROTOTYPE( void cause_alarm, (timer_t *tp) );
|
||||
FORWARD void cause_alarm(timer_t *tp);
|
||||
|
||||
/*===========================================================================*
|
||||
* do_setalarm *
|
||||
|
||||
@@ -19,14 +19,13 @@
|
||||
(RTS_ISSET(p, RTS_NO_PRIV) || RTS_ISSET(p, RTS_SIG_PENDING) \
|
||||
|| (RTS_ISSET(p, RTS_RECEIVING) && !RTS_ISSET(p, RTS_SENDING)))
|
||||
|
||||
FORWARD _PROTOTYPE(void adjust_proc_slot, (struct proc *rp,
|
||||
struct proc *from_rp));
|
||||
FORWARD _PROTOTYPE(void adjust_priv_slot, (struct priv *privp,
|
||||
struct priv *from_privp));
|
||||
FORWARD _PROTOTYPE(void swap_fpu_state, (struct proc *a_rp,
|
||||
struct proc *b_orig_rp, struct proc *b_copy_rp));
|
||||
FORWARD _PROTOTYPE(void swap_proc_slot_pointer, (struct proc **rpp,
|
||||
struct proc *src_rp, struct proc *dst_rp));
|
||||
FORWARD void adjust_proc_slot(struct proc *rp, struct proc *from_rp);
|
||||
FORWARD void adjust_priv_slot(struct priv *privp, struct priv
|
||||
*from_privp);
|
||||
FORWARD void swap_fpu_state(struct proc *a_rp, struct proc *b_orig_rp,
|
||||
struct proc *b_copy_rp);
|
||||
FORWARD void swap_proc_slot_pointer(struct proc **rpp, struct proc
|
||||
*src_rp, struct proc *dst_rp);
|
||||
|
||||
/*===========================================================================*
|
||||
* do_update *
|
||||
|
||||
Reference in New Issue
Block a user