summaryrefslogtreecommitdiffstats
path: root/include/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/helper.h')
-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)