diff --git a/src/charset.h b/src/charset.h
index 1564f3fb750fcae384f56ba154535612afc1f492..1fa5ec4fdac4b289674e0b670b19691cc8598c58 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
#define CHARSET_H
#include "config.h"
-
-#include <glib.h>
+#include "Compiler.h"
#include <stdbool.h>
/**
* Returns the number of terminal cells occupied by this string.
*/
-G_GNUC_PURE
+gcc_pure
unsigned
utf8_width(const char *str);
/**
* Returns the number of terminal cells occupied by this string.
*/
-G_GNUC_PURE
+gcc_pure
unsigned
locale_width(const char *p);