servers: fix clang warnings in iso9660fs and vm
This commit is contained in:
parent
957f4181c0
commit
5d958f894f
3 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,6 @@ PUBLIC int fs_readsuper() {
|
|||
cp_grant_id_t label_gid;
|
||||
size_t label_len;
|
||||
int r = OK;
|
||||
endpoint_t driver_e;
|
||||
int readonly;
|
||||
|
||||
fs_dev = fs_m_in.REQ_DEV;
|
||||
|
|
|
@ -642,7 +642,7 @@ PUBLIC int pt_ptmap(struct vmproc *src_vmp, struct vmproc *dst_vmp)
|
|||
return OK;
|
||||
}
|
||||
|
||||
PUBLIC int pt_clearmapcache(void)
|
||||
PUBLIC void pt_clearmapcache(void)
|
||||
{
|
||||
int f;
|
||||
/* Make sure kernel will invalidate tlb when using current
|
||||
|
|
|
@ -110,6 +110,7 @@ _PROTOTYPE( int pt_map_in_range, (struct vmproc *src_vmp, struct vmproc *dst_vmp
|
|||
_PROTOTYPE( int pt_ptmap, (struct vmproc *src_vmp, struct vmproc *dst_vmp) );
|
||||
_PROTOTYPE( int pt_ptalloc_in_range, (pt_t *pt, vir_bytes start, vir_bytes end,
|
||||
u32_t flags, int verify));
|
||||
_PROTOTYPE( void pt_clearmapcache, (void) );
|
||||
_PROTOTYPE( int pt_writemap, (struct vmproc * vmp, pt_t *pt, vir_bytes v,
|
||||
phys_bytes physaddr, size_t bytes, u32_t flags,
|
||||
u32_t writemapflags));
|
||||
|
|
Loading…
Reference in a new issue