VirtualBox

Ignore:
Timestamp:
May 12, 2023 12:21:58 PM (21 months ago)
Author:
vboxsync
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/Runtime/testcase/tstRTAvl.cpp

    r98103 r99775  
    566566}
    567567
    568 int avlogcphysRand(unsigned cMax, unsigned cMax2, uint32_t fCountMask)
     568static int avlogcphysRand(unsigned cMax, unsigned cMax2, uint32_t fCountMask)
    569569{
    570570    PAVLOGCPHYSTREE pTree = (PAVLOGCPHYSTREE)RTMemAllocZ(sizeof(*pTree));
     
    682682
    683683
    684 int avlrogcphys(void)
     684static int avlrogcphys(void)
    685685{
    686686    unsigned            i;
     
    986986
    987987
    988 int avlul(void)
     988static int avlul(void)
    989989{
    990990    RTTestISubF("RTAvlUL");
     
    12171217 * @return meaningless value, just for shortening 'return RTTestIFailed();'.
    12181218 */
    1219 int hardAvlRangeTreeGCPhys(RTTEST hTest)
     1219static int hardAvlRangeTreeGCPhys(RTTEST hTest)
    12201220{
    12211221    RTTestISubF("RTCHardAvlRangeTreeGCPhys");
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