summaryrefslogtreecommitdiff
path: root/src/VBox/Additions/solaris/Mouse
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-03-26 19:21:20 +0000
committer <>2014-05-08 15:03:54 +0000
commitfb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch)
treec2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Additions/solaris/Mouse
parent58ed4748338f9466599adfc8a9171280ed99e23f (diff)
downloadVirtualBox-master.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Additions/solaris/Mouse')
-rw-r--r--src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c2
-rw-r--r--src/VBox/Additions/solaris/Mouse/vboxms.c16
-rw-r--r--src/VBox/Additions/solaris/Mouse/vboxmslnk.c2
3 files changed, 10 insertions, 10 deletions
diff --git a/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c b/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c
index 65f09be5..1f60a8db 100644
--- a/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c
+++ b/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c
@@ -22,7 +22,7 @@
* You may elect to license modified versions of this file under the
* terms and conditions of either the GPL or the CDDL or both.
*/
-
+
/******************************************************************************
* Header Files *
******************************************************************************/
diff --git a/src/VBox/Additions/solaris/Mouse/vboxms.c b/src/VBox/Additions/solaris/Mouse/vboxms.c
index 3547520d..0768e8b7 100644
--- a/src/VBox/Additions/solaris/Mouse/vboxms.c
+++ b/src/VBox/Additions/solaris/Mouse/vboxms.c
@@ -117,7 +117,7 @@ static struct qinit g_vbmsSolRInit =
NULL /* module statistics structure */
};
-/*
+/*
* winit: write queue structure for handling messages coming from above. Above
* means user space applications: either Guest Additions user space tools or
* applications reading pointer input. Messages from the last most likely pass
@@ -511,7 +511,7 @@ int vbmsSolOpen(queue_t *pReadQueue, dev_t *pDev, int fFlag, int fMode,
/**
- * Notification callback, called when the VBoxGuest mouse pointer is moved.
+ * Notification callback, called when the VBoxGuest mouse pointer is moved.
* We send a VUID event up to user space. We may send a miscalculated event
* if a resolution change is half-way through, but that is pretty much to be
* expected, so we won't worry about it.
@@ -1091,7 +1091,7 @@ static int vbmsSolDispatchIOCtl(PVBMSSTATE pState, mblk_t *pMBlk)
case VUIOC:
{
unsigned i;
-
+
for (i = 0; i < RT_ELEMENTS(g_aVUIDIOCtlDescriptions); ++i)
if (g_aVUIDIOCtlDescriptions[i].iCmd == iCmd)
{
@@ -1248,9 +1248,9 @@ int vbmsSolHandleTransparentIOCtl(PVBMSSTATE pState, mblk_t *pMBlk,
/* We only need state data if there is something to copy back. */
if (enmDirection == BOTH)
pUserAddr = *(void **)pMBlk->b_cont->b_rptr;
- mcopyin(pMBlk, pUserAddr /* state data */, cbCmd, NULL);
- }
- else if (enmDirection == OUT)
+ mcopyin(pMBlk, pUserAddr /* state data */, cbCmd, NULL);
+ }
+ else if (enmDirection == OUT)
{
mblk_t *pMBlkOut = allocb(cbCmd, BPRI_MED);
void *pvData;
@@ -1273,7 +1273,7 @@ int vbmsSolHandleTransparentIOCtl(PVBMSSTATE pState, mblk_t *pMBlk,
}
return err;
}
-
+
/**
* Helper for vbmsSolHandleIOCtl. This rather complicated-looking
* code is basically the standard boilerplate for handling any streams IOCtl.
@@ -1287,7 +1287,7 @@ static int vbmsSolHandleIStrIOCtl(PVBMSSTATE pState, mblk_t *pMBlk,
void *pvData = NULL;
int err, rc = 0;
size_t cbData = 0;
-
+
LogFlowFunc(("iCmd=0x%x, cbBuffer=%u, b_cont=%p\n",
(unsigned)iCmd, cbBuffer, (void *)pMBlk->b_cont));
if (cbBuffer && !pMBlk->b_cont)
diff --git a/src/VBox/Additions/solaris/Mouse/vboxmslnk.c b/src/VBox/Additions/solaris/Mouse/vboxmslnk.c
index f2f3a740..a1fdde87 100644
--- a/src/VBox/Additions/solaris/Mouse/vboxmslnk.c
+++ b/src/VBox/Additions/solaris/Mouse/vboxmslnk.c
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
void handleArgs(int argc, char *argv[], int *pfNoLogo)
{
int fNoLogo = 0, fShowUsage = 0, fShowVersion = 0;
-
+
if (argc != 1 && argc != 2)
fShowUsage = 1;
if (argc == 2)