From fb11b8ceb6478405afb0f594a2456e9fad1b85fc Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 1 May 2017 09:07:22 +0200 Subject: [Test,Helper] Add test for utf8_strncmp and fuzzy evaluate. --- include/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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) -- cgit v1.2.3