summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d2b871)
raw | patch | inline | side by side (parent: 0d2b871)
author | Max Kellermann <max@duempel.org> | |
Sun, 11 Oct 2009 17:20:49 +0000 (19:20 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 11 Oct 2009 17:20:49 +0000 (19:20 +0200) |
This allows gcc to optimize further.
src/charset.h | patch | blob | history |
diff --git a/src/charset.h b/src/charset.h
index e5a9e957db2713e6467f978fc5b57511042cf824..d1b3f75e3676e9d87ae87e15942bf35ffd78b3e0 100644 (file)
--- a/src/charset.h
+++ b/src/charset.h
#include "config.h"
+#include <glib.h>
+
#include <stdbool.h>
-#include <stddef.h>
#ifdef ENABLE_LOCALE
const char *
/**
* Returns the number of terminal cells occupied by this string.
*/
+G_GNUC_PURE
unsigned
utf8_width(const char *str);