servers: fix clang warnings in iso9660fs and vm

This commit is contained in:
Arun Thomas 2012-02-17 15:35:27 +01:00
parent 957f4181c0
commit 5d958f894f
3 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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

View file

@ -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));