diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 13:33:10 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 13:33:10 -0800 |
| commit | 3cc645f2d0393e6e2d1d03a099a0c3320acb2a20 (patch) | |
| tree | db9a9574928075404af4fb64640be8fa096dd3d1 /definitions.h | |
| parent | a4f0b93836fa84c80d68ffdab4e36dd026a498f0 (diff) | |
Improved argument parsing and added support for prompting user for a
pattern if none is provided
Diffstat (limited to 'definitions.h')
| -rw-r--r-- | definitions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/definitions.h b/definitions.h index 5a006b4..8c3ae87 100644 --- a/definitions.h +++ b/definitions.h @@ -7,8 +7,8 @@ #include "files.h" #include "types.h" -__attribute__((nonnull(2,4,5), returns_nonnull)) -def_t *with_def(def_t *defs, file_t *f, size_t namelen, const char *name, pat_t *pat); +__attribute__((nonnull(3,4), returns_nonnull)) +def_t *with_def(def_t *defs, size_t namelen, const char *name, pat_t *pat); __attribute__((nonnull(2,3,4), returns_nonnull)) def_t *with_backref(def_t *defs, file_t *f, const char *name, match_t *m); __attribute__((nonnull(2))) |
