VirtualBox

Ignore:
Timestamp:
May 12, 2023 12:21:58 PM (18 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/bldprogs/scmsubversion.cpp

    r98103 r99775  
    327327 *                      Free with RTStrFree, regardless of return status.
    328328 */
    329 int RTProcExecToString(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags,
    330                        PRTPROCSTATUS pStatus, char **ppszStdOut, char **ppszStdErr)
     329static int RTProcExecToString(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags,
     330                              PRTPROCSTATUS pStatus, char **ppszStdOut, char **ppszStdErr)
    331331{
    332332    int rc2;
     
    509509 * @param   pStatus     Where to return the status on success.
    510510 */
    511 int RTProcExec(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags,
    512                PRTPROCSTATUS pStatus)
     511static int RTProcExec(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags,
     512                      PRTPROCSTATUS pStatus)
    513513{
    514514    int rc;
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