View | Details | Raw Unified | Return to bug 152283
Collapse All | Expand All

(-)emulators/open-vm-tools.remove-warns/files/patch-vmhgfs-kernelStubs.h (+11 lines)
Line 0 Link Here
1
--- modules/freebsd/vmhgfs/kernelStubs.h.orig	2010-10-20 05:19:54.000000000 +0900
2
+++ modules/freebsd/vmhgfs/kernelStubs.h	2010-11-16 13:26:24.000000000 +0900
3
@@ -132,7 +132,7 @@
4
  * Stub functions we provide.
5
  */
6
 
7
-void Panic(const char *fmt, ...);
8
+/* void Panic(const char *fmt, ...); -> vm_assert.h */
9
 
10
 char *Str_Strcpy(char *buf, const char *src, size_t maxSize);
11
 int Str_Vsnprintf(char *str, size_t size, const char *format,
(-)emulators/open-vm-tools.remove-warns/files/patch-vmhgfs-state.c (-2 / +18 lines)
Lines 1-5 Link Here
1
--- modules/freebsd/vmhgfs/state.c.orig	2009-02-28 23:06:10.000000000 +0100
1
--- modules/freebsd/vmhgfs/state.c.orig	2010-10-20 05:19:54.000000000 +0900
2
+++ modules/freebsd/vmhgfs/state.c	2009-02-28 23:08:59.000000000 +0100
2
+++ modules/freebsd/vmhgfs/state.c	2010-11-16 13:27:57.000000000 +0900
3
@@ -770,6 +770,12 @@
3
@@ -770,6 +770,12 @@
4
       goto destroyVnode;
4
       goto destroyVnode;
5
    }
5
    }
Lines 13-15 Link Here
13
    /*
13
    /*
14
     * Now we'll initialize the vnode.  We need to set the file type, vnode
14
     * Now we'll initialize the vnode.  We need to set the file type, vnode
15
     * operations, flags, filesystem pointer, reference count, and device.
15
     * operations, flags, filesystem pointer, reference count, and device.
16
@@ -1277,6 +1283,7 @@
17
  *----------------------------------------------------------------------------
18
  */
19
 
20
+#if 0 /* never used */
21
 void
22
 HgfsMarkFileMmapped(struct vnode *vp,    // vnode which state is being changed
23
                     Bool mmapped)        // New mapping state
24
@@ -1286,6 +1293,7 @@
25
    fp = HGFS_VP_TO_FP(vp);
26
    fp->mmapped = mmapped;
27
 }
28
+#endif
29
 
30
 /* Adding/finding/removing file state from hash table */
31
 
(-)emulators/open-vm-tools.remove-warns/files/patch-vmhgfs-vnopscommon.c (+11 lines)
Line 0 Link Here
1
--- modules/freebsd/vmhgfs/vnopscommon.c.orig	2010-10-20 05:19:54.000000000 +0900
2
+++ modules/freebsd/vmhgfs/vnopscommon.c	2010-11-16 13:26:55.000000000 +0900
3
@@ -50,7 +50,7 @@
4
 static int HgfsDoGetattrInt(const char *path, const HgfsHandle handle, HgfsSuperInfo *sip,
5
 			    HgfsAttrV2 *hgfsAttrV2);
6
 static int HgfsDoGetattrByName(const char *path, HgfsSuperInfo *sip, HgfsAttrV2 *hgfsAttrV2);
7
-int HgfsReadlinkInt(struct vnode *vp, struct uio *uiop);
8
+/* int HgfsReadlinkInt(struct vnode *vp, struct uio *uiop); -> vnopscommon.h */
9
 static int HgfsQueryAttrInt(const char *path, HgfsHandle handle, HgfsSuperInfo *sip,
10
                             HgfsKReqHandle req);
11
 static int HgfsRefreshHandle(struct vnode *vp, HgfsSuperInfo *sip, HgfsHandle *handle);

Return to bug 152283