VirtualBox

Ignore:
Timestamp:
May 12, 2023 12:21:58 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157370
Message:

*: Mark functions as static if not used outside of a given compilation unit. Enables the compiler to optimize inlining, reduces the symbol tables, exposes unused functions and in some rare cases exposes mismtaches between function declarations and definitions, but most importantly reduces the number of parfait reports for the extern-function-no-forward-declaration category. This should not result in any functional changes, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/testcase/tstGuestPropSvc.cpp

    r98103 r99775  
    426426 *                      SET_PROP_VALUE[_HOST]
    427427 */
    428 int doSetProperty(VBOXHGCMSVCFNTABLE *pTable, const char *pcszName,
    429                   const char *pcszValue, const char *pcszFlags, bool isHost,
    430                   bool useSetProp)
     428static int doSetProperty(VBOXHGCMSVCFNTABLE *pTable, const char *pcszName,
     429                         const char *pcszValue, const char *pcszFlags, bool isHost,
     430                         bool useSetProp)
    431431{
    432432    RTThreadSleep(1); /* stupid, stupid timestamp fudge to avoid asserting in getOldNotification() */
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