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/tstRTCRest-1.cpp

    r98103 r99775  
    601601
    602602
    603 void testDouble(void)
     603static void testDouble(void)
    604604{
    605605    RTTestSub(g_hTest, "RTCRestDouble");
     
    902902
    903903
    904 void testString(const char *pszDummy, ...)
     904static void testString(const char *pszDummy, ...)
    905905{
    906906    RTTestSub(g_hTest, "RTCRestString");
     
    12181218
    12191219
    1220 void testDate()
     1220static void testDate()
    12211221{
    12221222    RTTestSub(g_hTest, "RTCRestDate");
     
    18421842
    18431843
    1844 void testStringMap(void)
     1844static void testStringMap(void)
    18451845{
    18461846    RTTestSub(g_hTest, "RTCRestMap");
     
    21402140
    21412141
    2142 void testClientRequestBase()
     2142static void testClientRequestBase()
    21432143{
    21442144    RTTestSub(g_hTest, "RTCRestClientRequestBase");
     
    22752275
    22762276
    2277 void testClientResponseBase()
     2277static void testClientResponseBase()
    22782278{
    22792279    RTTestSub(g_hTest, "RTCRestClientResponseBase");
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