mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: remove #define SPA_WEAK
This is a leftover from an earlier version of 0e60e9c063. The
attribute is not supported by clang at this time, so let's remove
the #define until we have a use-case that requires it.
This commit is contained in:
parent
013567524a
commit
fe79e684b7
1 changed files with 0 additions and 2 deletions
|
|
@ -207,7 +207,6 @@ struct spa_fraction {
|
|||
#define SPA_SENTINEL __attribute__((__sentinel__))
|
||||
#define SPA_UNUSED __attribute__ ((unused))
|
||||
#define SPA_NORETURN __attribute__ ((noreturn))
|
||||
#define SPA_WEAK __attribute__ ((weak))
|
||||
#else
|
||||
#define SPA_PRINTF_FUNC(fmt, arg1)
|
||||
#define SPA_FORMAT_ARG_FUNC(arg1)
|
||||
|
|
@ -217,7 +216,6 @@ struct spa_fraction {
|
|||
#define SPA_SENTINEL
|
||||
#define SPA_UNUSED
|
||||
#define SPA_NORETURN
|
||||
/* SPA_WEAK intentionally undef here */
|
||||
#endif
|
||||
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue