diff options
author | Max Kellermann <max@duempel.org> | 2012-08-02 18:15:49 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-02 19:12:18 +0200 |
commit | 8e331cfc65b6817a147dfaac4d9c4d01414782ac (patch) | |
tree | 5a67ed93b37e98a3164b693da1f7e5a140dbecee /src/database.h | |
parent | edf811fa0271da729e9962e3976f2a68ac35a395 (diff) | |
download | mpd-8e331cfc65b6817a147dfaac4d9c4d01414782ac.tar.gz mpd-8e331cfc65b6817a147dfaac4d9c4d01414782ac.tar.xz mpd-8e331cfc65b6817a147dfaac4d9c4d01414782ac.zip |
gcc.h: re-add gcc_const and gcc_pure
Remove GLib dependency from some headers.
Diffstat (limited to 'src/database.h')
-rw-r--r-- | src/database.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/database.h b/src/database.h index f877b74d3..47d52da65 100644 --- a/src/database.h +++ b/src/database.h @@ -47,7 +47,7 @@ db_finish(void); * Returns the root directory object. Returns NULL if there is no * configured music directory. */ -G_GNUC_PURE +gcc_pure struct directory * db_get_root(void); @@ -55,12 +55,12 @@ db_get_root(void); * Caller must lock the #db_mutex. */ gcc_nonnull(1) -G_GNUC_PURE +gcc_pure struct directory * db_get_directory(const char *name); gcc_nonnull(1) -G_GNUC_PURE +gcc_pure struct song * db_get_song(const char *file); @@ -82,14 +82,14 @@ db_save(GError **error_r); bool db_load(GError **error); -G_GNUC_PURE +gcc_pure time_t db_get_mtime(void); /** * Returns true if there is a valid database file on the disk. */ -G_GNUC_PURE +gcc_pure static inline bool db_exists(void) { |