chiark / gitweb /
avoid crashes on log client teardown
[disorder] / lib / charset.h
index b172b76f745af0c0f99ff644ad0b0942b45a5ef8..70b5b2f40d68baa141e1f73497a87ddc6c5f92d6 100644 (file)
@@ -66,6 +66,8 @@ static inline char *nullcheck(char *s) {
 int ucs4cmp(const uint32_t *a, const uint32_t *b);
 /* like strcmp */
 
+const char *truncate_for_display(const char *s, long max);
+
 #endif /* CHARSET_H */
 
 /*