VirtualBox

Changeset 56980 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jul 18, 2015 6:59:10 PM (9 years ago)
Author:
vboxsync
Message:

iprt/string.h: Moved RT_IPRT_FORMAT_ATTR on inline functions to make gcc happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/string.h

    r56919 r56980  
    20402040 * @param   ...         The format argument.
    20412041 */
    2042 DECLINLINE(int) RTStrAPrintf(char **ppszBuffer, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(2, 3)
     2042DECLINLINE(int) RT_IPRT_FORMAT_ATTR(2, 3)
     2043RTStrAPrintf(char **ppszBuffer, const char *pszFormat, ...)
    20432044{
    20442045    int     cbRet;
     
    20632064 * @param   ...         The format argument.
    20642065 */
    2065 DECLINLINE(int) RTStrAPrintfTag(char **ppszBuffer, const char *pszTag, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(3, 4)
     2066DECLINLINE(int) RT_IPRT_FORMAT_ATTR(3, 4)
     2067RTStrAPrintfTag(char **ppszBuffer, const char *pszTag, const char *pszFormat, ...)
    20662068{
    20672069    int     cbRet;
     
    21022104 * @param   ...         The format argument.
    21032105 */
    2104 DECLINLINE(char *) RTStrAPrintf2(const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2)
     2106DECLINLINE(char *) RT_IPRT_FORMAT_ATTR(1, 2)
     2107RTStrAPrintf2(const char *pszFormat, ...)
    21052108{
    21062109    char   *pszRet;
     
    21212124 * @param   ...         The format argument.
    21222125 */
    2123 DECLINLINE(char *) RTStrAPrintf2Tag(const char *pszTag, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(2, 3)
     2126DECLINLINE(char *) RT_IPRT_FORMAT_ATTR(2, 3)
     2127RTStrAPrintf2Tag(const char *pszTag, const char *pszFormat, ...)
    21242128{
    21252129    char   *pszRet;
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