VirtualBox

Changeset 90692 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Aug 16, 2021 9:20:36 AM (3 years ago)
Author:
vboxsync
Message:

IPRT: Corrected three RTLogGetXxxx functions to RTLogQueryXxxx (getters shall not return an IPRT status code). bugref:10086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r83657 r90692  
    19181918 *                              than zero.
    19191919 */
    1920 RTDECL(int) RTLogGetGroupSettings(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
     1920RTDECL(int) RTLogQueryGroupSettings(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
    19211921{
    19221922    bool        fNotFirst = false;
     
    19771977    return rc;
    19781978}
    1979 RT_EXPORT_SYMBOL(RTLogGetGroupSettings);
     1979RT_EXPORT_SYMBOL(RTLogQueryGroupSettings);
    19801980
    19811981#endif /* !IN_RC */
     
    21452145 *                              than zero.
    21462146 */
    2147 RTDECL(int) RTLogGetFlags(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
     2147RTDECL(int) RTLogQueryFlags(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
    21482148{
    21492149    bool        fNotFirst = false;
     
    21952195    return rc;
    21962196}
    2197 RT_EXPORT_SYMBOL(RTLogGetFlags);
     2197RT_EXPORT_SYMBOL(RTLogQueryFlags);
    21982198
    21992199
     
    25002500 *                              than 0.
    25012501 */
    2502 RTDECL(int) RTLogGetDestinations(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
     2502RTDECL(int) RTLogQueryDestinations(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)
    25032503{
    25042504    bool        fNotFirst = false;
     
    26012601    return VINF_SUCCESS;
    26022602}
    2603 RT_EXPORT_SYMBOL(RTLogGetDestinations);
     2603RT_EXPORT_SYMBOL(RTLogQueryDestinations);
    26042604
    26052605#endif /* !IN_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