aboutsummaryrefslogtreecommitdiff
path: root/pattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'pattern.h')
-rw-r--r--pattern.h2
1 files changed, 1 insertions, 1 deletions
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);