gcc.h: re-add gcc_const and gcc_pure

Remove GLib dependency from some headers.
This commit is contained in:
Max Kellermann
2012-08-02 18:15:49 +02:00
parent edf811fa02
commit 8e331cfc65
28 changed files with 124 additions and 93 deletions

View File

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