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:
Peter Hutterer 2021-09-30 08:37:30 +10:00
parent 013567524a
commit fe79e684b7

View file

@ -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