more [[gnu::...]] attributes
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
#include "util/ByteOrder.hxx"
|
||||
#include "input/Offset.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -33,7 +32,7 @@ class InputStream;
|
||||
struct DsdId {
|
||||
char value[4];
|
||||
|
||||
gcc_pure
|
||||
[[gnu::pure]]
|
||||
bool Equals(const char *s) const noexcept;
|
||||
};
|
||||
|
||||
@@ -70,7 +69,7 @@ dsdlib_skip(DecoderClient *client, InputStream &is,
|
||||
/**
|
||||
* Check if the sample frequency is a valid DSD frequency.
|
||||
**/
|
||||
gcc_const
|
||||
[[gnu::const]]
|
||||
bool
|
||||
dsdlib_valid_freq(uint32_t samplefreq) noexcept;
|
||||
|
||||
|
Reference in New Issue
Block a user