libctf: work with compilers not supporting GNU C attributes
authorNick Alcock <nick.alcock@oracle.com>
Fri, 13 Dec 2019 14:54:09 +0000 (14:54 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 26 Jun 2020 14:56:39 +0000 (15:56 +0100)
commit866706584c6622bd7f9f595c307422771ce1d564
treed38f09284f2fd8789e5493d2057f73780e589c40
parent2e428e74401480c562a203ba6b6923ce8c7811fa
libctf: work with compilers not supporting GNU C attributes

The obvious fallback __attribute__ stanza was missing.

Thanks to Harald van Dijk.

PR 25120
libctf/
* ctf-impl.h (_libctf_printflike_): Add non-GNU-C fallback.
(_libctf_unlikely_): Likewise.
(_libctf_unused): Likewise.
(_libctf_malloc_): Likewise.
libctf/ChangeLog
libctf/ctf-impl.h