diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-05-01 09:07:22 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-05-01 09:07:22 +0200 |
commit | fb11b8ceb6478405afb0f594a2456e9fad1b85fc (patch) | |
tree | 1ecd55125e63eadcf89b38da28dfe6f52dc83b48 /include | |
parent | bc428058cbec5c5f5a58e191830e8f6e44418805 (diff) |
[Test,Helper] Add test for utf8_strncmp and fuzzy evaluate.
Diffstat (limited to 'include')
-rw-r--r-- | include/helper.h | 2 |
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) |