VirtualBox

Ignore:
Timestamp:
Jul 26, 2022 11:40:02 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152578
Message:

VBoxService/ToolBox: Drop unused stdio.h header and some nits. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp

    r93115 r95853  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
    22 #include <stdio.h>
    23 
    2422#include <iprt/assert.h>
    2523#include <iprt/buildconfig.h>
     
    237235    /* Set stdout's mode to binary. This is required for outputting all the machine-readable
    238236     * data correctly. */
    239     int rc = RTStrmSetMode(g_pStdOut, 1 /* Binary mode */, -1 /* Current code set, not changed */);
     237    int rc = RTStrmSetMode(g_pStdOut, true /* Binary mode */, -1 /* Current code set, not changed */);
    240238    if (RT_FAILURE(rc))
    241239        RTMsgError("Unable to set stdout to binary mode, rc=%Rrc\n", rc);
Note: See TracChangeset for help on using the changeset viewer.

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