VirtualBox

Ignore:
Timestamp:
May 12, 2023 12:21:58 PM (23 months 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

Location:
trunk/src/VBox/ValidationKit/utils/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceProtocol.h

    r99739 r99775  
    360360 * @param   pPktHdr           The packet to convert.
    361361 */
    362 DECLHIDDEN(void) utsProtocolRepH2N(PUTSPKTHDR pPktHdr);
     362DECLHIDDEN(void) utsProtocolRepH2N(PUTSPKTSTS pPktHdr);
    363363
    364364/**
     
    367367 * @param   pPktHdr           The packet to convert.
    368368 */
    369 DECLHIDDEN(void) utsProtocolRepN2H(PUTSPKTHDR pPktHdr);
     369DECLHIDDEN(void) utsProtocolRepN2H(PUTSPKTSTS pPktHdr);
    370370
    371371RT_C_DECLS_END
  • trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceTcp.cpp

    r98103 r99775  
    469469 * @interface_method_impl{UTSTRANSPORT,pfnUsage}
    470470 */
    471 DECLCALLBACK(void) utsTcpUsage(PRTSTREAM pStream)
     471static DECLCALLBACK(void) utsTcpUsage(PRTSTREAM pStream)
    472472{
    473473    RTStrmPrintf(pStream,
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