VirtualBox

Ignore:
Timestamp:
Feb 20, 2009 12:07:46 AM (16 years ago)
Author:
vboxsync
Message:

VBoxHDD.h/cpp: Fixed VDCFGQueryStringAllocDef inconsistency in the VERR_CFGM_NO_PARENT handling. In C VDInit() and VDShutdown() are not valid prototypes, added 'void' to make gcc happy. cb is generally used instead of cch when the terminator is included.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD.cpp

    r16873 r16962  
    687687 * @returns VBox status code.
    688688 */
    689 VBOXDDU_DECL(int) VDInit()
     689VBOXDDU_DECL(int) VDInit(void)
    690690{
    691691    int rc = vdAddBackends(aStaticBackends, RT_ELEMENTS(aStaticBackends));
     
    701701 * @returns VBox status code.
    702702 */
    703 VBOXDDU_DECL(int) VDShutdown()
     703VBOXDDU_DECL(int) VDShutdown(void)
    704704{
    705705    PVBOXHDDBACKEND *pBackends = g_apBackends;
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