VirtualBox

Changeset 63064 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 5, 2016 9:35:09 PM (8 years ago)
Author:
vboxsync
Message:

vboxhgmc.c/_crVBoxHGSMIInit: VBoxCrHgsmiInit changed to a single signature without any parameters in r79662 & r79665, this code was forgotten because someone didn't know that one have to use put 'void' in empty parameter lists in C to form a real prototype. Part of the blame should be given to using the VBOXR3NP template which doesn't make GCC warn about it. Accidentally found when locally enabling this warning for MSC recently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r62814 r63064  
    16331633    {
    16341634        int rc;
    1635 #ifndef VBOX_CRHGSMI_WITH_D3DDEV
    1636         rc = VBoxCrHgsmiInit(CR_PROTOCOL_VERSION_MAJOR, CR_PROTOCOL_VERSION_MINOR);
    1637 #else
    1638         VBOXCRHGSMI_CALLBACKS Callbacks;
    1639         Callbacks.pfnClientCreate = _crVBoxHGSMIClientCreate;
    1640         Callbacks.pfnClientDestroy = _crVBoxHGSMIClientDestroy;
    1641         rc = VBoxCrHgsmiInit(&Callbacks);
    1642 #endif
     1635        rc = VBoxCrHgsmiInit();
    16431636        if (RT_SUCCESS(rc))
    16441637            bHasHGSMI = 1;
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