diff --git a/src/charset.h b/src/charset.h
index 1564f3fb750fcae384f56ba154535612afc1f492..b07d5fa3f0a0604e76e24b541999a14504cdf392 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
#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);