VirtualBox

Changeset 2195 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2007 7:52:04 PM (18 years ago)
Author:
vboxsync
Message:

cosmetical fixes

Location:
trunk/src/VBox/Additions/linux/module
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/cmc.c

    r1067 r2195  
    3333}
    3434
    35 static int vboxadd_hgcm_connect (VBoxDevice *dev, VBoxGuestHGCMConnectInfo *info)
    36 {
    37     return VbglHGCMConnect (info, vboxadd_hgcm_callback, dev, 0);
    38 }
    39 
    40 static int vboxadd_hgcm_disconnect (VBoxDevice *dev, VBoxGuestHGCMDisconnectInfo *info)
    41 {
    42     return VbglHGCMDisconnect (info, vboxadd_hgcm_callback, dev, 0);
    43 }
    44 
    45 static int vboxadd_hgcm_call (VBoxDevice *dev, VBoxGuestHGCMCallInfo *info)
    46 {
    47     return VbglHGCMCall (info, vboxadd_hgcm_callback, dev, 0);
    48 }
    49 
    5035DECLVBGL (int) vboxadd_cmc_call (void *opaque, uint32_t func, void *data)
    5136{
     
    5338    {
    5439        case IOCTL_VBOXGUEST_HGCM_CONNECT:
    55             return vboxadd_hgcm_connect (opaque, data);
     40            return VbglHGCMConnect (data, vboxadd_hgcm_callback, opaque, 0);
    5641
    5742        case IOCTL_VBOXGUEST_HGCM_DISCONNECT:
    58             return vboxadd_hgcm_disconnect (opaque, data);
     43            return VbglHGCMDisconnect (data, vboxadd_hgcm_callback, opaque, 0);
    5944
    6045        case IOCTL_VBOXGUEST_HGCM_CALL:
    61             return vboxadd_hgcm_call (opaque, data);
     46            return VbglHGCMCall (data, vboxadd_hgcm_callback, opaque, 0);
    6247
    6348        default:
  • trunk/src/VBox/Additions/linux/module/waitcompat.h

    r1 r2195  
    2727                __wait_event_timeout(wq, condition, __ret);     \
    2828        __ret;                                                  \
    29 })
     29 })
    3030
    3131#define __wait_event_timeout(wq, condition, ret)                \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette