Fixed some inconsistent strict typing declarations.
Better strict typing.
This commit is contained in:
@@ -11,7 +11,7 @@ FORWARD _PROTOTYPE( void safe_io_cleanup, (cp_grant_id_t, cp_grant_id_t *,
|
||||
int));
|
||||
FORWARD _PROTOTYPE( int gen_opcl, (endpoint_t driver_e, int op,
|
||||
dev_t dev, int proc_e, int flags));
|
||||
FORWARD _PROTOTYPE( int gen_io, (int task_nr, message *mess_ptr));
|
||||
FORWARD _PROTOTYPE( int gen_io, (endpoint_t task_nr, message *mess_ptr));
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
|
||||
@@ -32,7 +32,7 @@ _PROTOTYPE( int fs_new_driver, (void) );
|
||||
_PROTOTYPE( struct inode *alloc_inode, (dev_t dev, mode_t bits) );
|
||||
_PROTOTYPE( void dup_inode, (struct inode *ip) );
|
||||
_PROTOTYPE( struct inode *find_inode, (dev_t dev, int numb) );
|
||||
_PROTOTYPE( void free_inode, (dev_t dev, Ino_t numb) );
|
||||
_PROTOTYPE( void free_inode, (dev_t dev, ino_t numb) );
|
||||
_PROTOTYPE( int fs_getnode, (void) );
|
||||
_PROTOTYPE( int fs_putnode, (void) );
|
||||
_PROTOTYPE( void init_inode_cache, (void) );
|
||||
|
||||
@@ -213,7 +213,7 @@ PUBLIC int do_srv_kill()
|
||||
/*===========================================================================*
|
||||
* process_ksig *
|
||||
*===========================================================================*/
|
||||
PUBLIC int process_ksig(int proc_nr_e, int signo)
|
||||
PUBLIC int process_ksig(endpoint_t proc_nr_e, int signo)
|
||||
{
|
||||
register struct mproc *rmp;
|
||||
int proc_nr;
|
||||
|
||||
@@ -163,7 +163,7 @@ int code; /* status code */
|
||||
/*===========================================================================*
|
||||
* rs_isokendpt *
|
||||
*===========================================================================*/
|
||||
PUBLIC int rs_isokendpt(int endpoint, int *proc)
|
||||
PUBLIC int rs_isokendpt(endpoint_t endpoint, int *proc)
|
||||
{
|
||||
*proc = _ENDPOINT_P(endpoint);
|
||||
if(*proc < -NR_TASKS || *proc >= NR_PROCS)
|
||||
|
||||
Reference in New Issue
Block a user