]> Zhao Yanbai Git Server - minix.git/commitdiff
servers: fix clang warnings in iso9660fs and vm
authorArun Thomas <arun@minix3.org>
Fri, 17 Feb 2012 14:35:27 +0000 (15:35 +0100)
committerArun Thomas <arun@minix3.org>
Fri, 17 Feb 2012 15:48:40 +0000 (16:48 +0100)
servers/iso9660fs/mount.c
servers/vm/arch/i386/pagetable.c
servers/vm/proto.h

index e8053bccb34ce9cb7c932a5dcf3bc1061a25f4e7..1c7ddd0ad55e62c4011d90a81d41425f6f2ef47d 100644 (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;
index d516004a874c91349b4fa38fe094cd8dea853c4f..9d665e8c4c50f4c885442299f292bf8315616a18 100644 (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
index 8b861d3ad5044414d0df3c1759aae3789e213f60..243a376d8186a9cfd68524c38f77787cf3471647 100644 (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));