From eece8c85564b9c5ae0cb3edfe7edb684242e9227 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 18 Jan 2021 10:30:17 -0800 Subject: More static analyzer cleanup, including switching to use bools where appropriate and EXIT_SUCESS/EXIT_FAILURE --- pattern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pattern.h') diff --git a/pattern.h b/pattern.h index ff1105c..497fe76 100644 --- a/pattern.h +++ b/pattern.h @@ -7,7 +7,7 @@ #include "files.h" #include "types.h" -__attribute__((nonnull)) +__attribute__((returns_nonnull, nonnull)) pat_t *new_pat(file_t *f, const char *start, enum pattype_e type); __attribute__((nonnull(1,2))) pat_t *bp_stringpattern(file_t *f, const char *str); -- cgit v1.2.3