diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-11 00:19:52 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-11 00:19:52 -0700 |
| commit | b09bd4c746bd9682b29fa4f329c4b8e7effbfd51 (patch) | |
| tree | 5389b2c4ed75d17ca8ad4cdff9f96f72b49992d4 /pattern.h | |
| parent | e6aafbc1ac9bb88ac062b7ab359b6f15c322c3cd (diff) | |
Code cleanup: adding len parameter to new_pat()
Diffstat (limited to 'pattern.h')
| -rw-r--r-- | pattern.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ #include "types.h" __attribute__((returns_nonnull, nonnull(1,2))) -pat_t *new_pat(file_t *f, const char *start, const char *end, enum pattype_e type); +pat_t *new_pat(file_t *f, const char *start, const char *end, ssize_t len, enum pattype_e type); __attribute__((nonnull(1,2))) pat_t *bp_stringpattern(file_t *f, const char *str); __attribute__((nonnull(1,2))) |
