diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/ProxyDatabasePlugin.cxx | 4 | ||||
-rw-r--r-- | src/db/SimpleDatabasePlugin.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx index ee557ed11..638a801d4 100644 --- a/src/db/ProxyDatabasePlugin.cxx +++ b/src/db/ProxyDatabasePlugin.cxx @@ -76,7 +76,7 @@ protected: bool Configure(const config_param ¶m, GError **error_r); }; -G_GNUC_CONST +gcc_pure static inline GQuark libmpdclient_quark(void) { @@ -107,7 +107,7 @@ static constexpr struct { { TAG_NUM_OF_ITEM_TYPES, MPD_TAG_COUNT } }; -G_GNUC_CONST +gcc_const static enum mpd_tag_type Convert(enum tag_type tag_type) { diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx index ac5a75438..7690a188b 100644 --- a/src/db/SimpleDatabasePlugin.cxx +++ b/src/db/SimpleDatabasePlugin.cxx @@ -33,7 +33,7 @@ #include <sys/types.h> #include <errno.h> -G_GNUC_CONST +gcc_const static inline GQuark simple_db_quark(void) { @@ -241,7 +241,7 @@ SimpleDatabase::ReturnSong(gcc_unused Song *song) const #endif } -G_GNUC_PURE +gcc_pure const Directory * SimpleDatabase::LookupDirectory(const char *uri) const { |