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/util/bit_reverse.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/util/bit_reverse.h')
-rw-r--r-- | src/util/bit_reverse.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/bit_reverse.h b/src/util/bit_reverse.h index e44693b1d..54cb789bb 100644 --- a/src/util/bit_reverse.h +++ b/src/util/bit_reverse.h @@ -20,12 +20,13 @@ #ifndef MPD_BIT_REVERSE_H #define MPD_BIT_REVERSE_H -#include <glib.h> +#include "gcc.h" + #include <stdint.h> extern const uint8_t bit_reverse_table[256]; -G_GNUC_CONST +gcc_const static inline uint8_t bit_reverse(uint8_t x) { |