VirtualBox

Ignore:
Timestamp:
Sep 30, 2015 1:34:29 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102961
Message:

Additions/VBoxService: unsigned verbosity level

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
2 edited

Legend:

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

    r57729 r57966  
    6969char                *g_pszProgName =  (char *)"";
    7070/** The current verbosity level. */
    71 int                  g_cVerbosity = 0;
     71unsigned             g_cVerbosity = 0;
    7272char                 g_szLogFile[RTPATH_MAX + 128] = "";
    7373char                 g_szPidFile[RTPATH_MAX] = "";
     
    373373 * @param   ...         Format arguments.
    374374 */
    375 void VBoxServiceVerbose(int iLevel, const char *pszFormat, ...)
     375void VBoxServiceVerbose(unsigned iLevel, const char *pszFormat, ...)
    376376{
    377377    if (iLevel <= g_cVerbosity)
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r57710 r57966  
    159159
    160160extern char        *g_pszProgName;
    161 extern int          g_cVerbosity;
     161extern unsigned     g_cVerbosity;
    162162extern char         g_szLogFile[RTPATH_MAX + 128];
    163163extern uint32_t     g_DefaultInterval;
     
    183183extern RTEXITCODE               VBoxServiceSyntax(const char *pszFormat, ...);
    184184extern RTEXITCODE               VBoxServiceError(const char *pszFormat, ...);
    185 extern void                     VBoxServiceVerbose(int iLevel, const char *pszFormat, ...);
     185extern void                     VBoxServiceVerbose(unsigned iLevel, const char *pszFormat, ...);
    186186extern int                      VBoxServiceArgUInt32(int argc, char **argv, const char *psz, int *pi, uint32_t *pu32,
    187187                                                     uint32_t u32Min, uint32_t u32Max);
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