aboutsummaryrefslogtreecommitdiff
path: root/pattern.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-20 16:12:46 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-20 16:12:46 -0800
commitc46a8227d0bfc31e4f71b6441303348f5c31174b (patch)
treea06e3747fa09c0d737f724000f0e516f9c853b32 /pattern.h
parentb50ad0cad099c99d4e739fc465b69779f661b77d (diff)
Added --skip flag for skipping over patterns
Diffstat (limited to 'pattern.h')
-rw-r--r--pattern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pattern.h b/pattern.h
index bcb9eac..908d3b1 100644
--- a/pattern.h
+++ b/pattern.h
@@ -15,6 +15,8 @@ __attribute__((nonnull(1,2)))
pat_t *bp_replacement(file_t *f, pat_t *replacepat, const char *replacement);
__attribute__((nonnull(1)))
pat_t *chain_together(file_t *f, pat_t *first, pat_t *second);
+__attribute__((nonnull(1)))
+pat_t *either_pat(file_t *f, pat_t *first, pat_t *second);
__attribute__((nonnull))
pat_t *bp_pattern(file_t *f, const char *str);
__attribute__((nonnull))