summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-01 09:07:22 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-01 09:07:22 +0200
commitfb11b8ceb6478405afb0f594a2456e9fad1b85fc (patch)
tree1ecd55125e63eadcf89b38da28dfe6f52dc83b48 /include
parentbc428058cbec5c5f5a58e191830e8f6e44418805 (diff)
[Test,Helper] Add test for utf8_strncmp and fuzzy evaluate.
Diffstat (limited to 'include')
-rw-r--r--include/helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/helper.h b/include/helper.h
index 246cc737..e3648b6b 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -244,7 +244,7 @@ int rofi_scorer_fuzzy_evaluate ( const char *pattern, glong plen, const char *st
* are found, respectively, to be less than, to match, or be greater than the first `n`
* characters (not bytes) of `b`.
*/
-int utf8_strncmp ( const char *a, const char* b, size_t n );
+int utf8_strncmp ( const char *a, const char* b, size_t n ) __attribute__((nonnull(1,2)));
/**
* @param wd The work directory (optional)