VirtualBox

Ignore:
Timestamp:
Jan 31, 2024 3:41:31 PM (12 months ago)
Author:
vboxsync
Message:

Additions: Some warning fixes about externally visible functions which should be static, bugref:3409

File:
1 edited

Legend:

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

    r102753 r103149  
    112112#include "VBoxServiceUtils.h"
    113113#include "VBoxServicePropCache.h"
     114#include "VBoxServiceVMInfo.h"
    114115
    115116
     
    155156/** User idle threshold (in ms). This specifies the minimum time a user is considered
    156157 *  as being idle and then will be reported to the host. Default is 5s. */
    157 uint32_t                        g_uVMInfoUserIdleThresholdMS = 5 * 1000;
     158DECL_HIDDEN_DATA(uint32_t)      g_uVMInfoUserIdleThresholdMS = 5 * 1000;
    158159
    159160
     
    429430 *                                  the property.
    430431 */
    431 int VGSvcUserUpdateF(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,
    432                      const char *pszKey, const char *pszValueFormat, ...)
     432DECLHIDDEN(int) VGSvcUserUpdateF(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,
     433                                 const char *pszKey, const char *pszValueFormat, ...)
    433434{
    434435    AssertPtrReturn(pCache, VERR_INVALID_POINTER);
     
    494495 * @param   va                      Format arguments.
    495496 */
    496 int VGSvcUserUpdateV(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,
    497                      const char *pszKey, const char *pszFormat, va_list va)
     497DECLHIDDEN(int) VGSvcUserUpdateV(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,
     498                                 const char *pszKey, const char *pszFormat, va_list va)
    498499{
    499500    char *psz = NULL;
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