aboutsummaryrefslogtreecommitdiff
path: root/pattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'pattern.h')
-rw-r--r--pattern.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pattern.h b/pattern.h
index dd763d5..a39f5bf 100644
--- a/pattern.h
+++ b/pattern.h
@@ -108,13 +108,13 @@ typedef struct {
__attribute__((nonnull, returns_nonnull))
pat_t *bp_raw_literal(const char *str, size_t len);
-__attribute__((nonnull))
+__attribute__((nonnull(1)))
maybe_pat_t bp_stringpattern(const char *str, const char *end);
-__attribute__((nonnull))
+__attribute__((nonnull(1,2)))
maybe_pat_t bp_replacement(pat_t *replacepat, const char *replacement, const char *end);
pat_t *chain_together(pat_t *first, pat_t *second);
pat_t *either_pat(pat_t *first, pat_t *second);
-__attribute__((nonnull))
+__attribute__((nonnull(1)))
maybe_pat_t bp_pattern(const char *str, const char *end);
void free_all_pats(void);
__attribute__((nonnull))