diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-12 22:33:28 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-12 22:33:28 -0800 |
| commit | 6deb08a4ab64a998a5844df8f61fb8abe56f5d7b (patch) | |
| tree | a868d425cacc7f5b4c5775aa26a76fe26c2e3696 /grammar.c | |
| parent | 2d109f974b6a03a79db3dd8a5ffe5c2aff76659e (diff) | |
Added forward declarations for static functions
Diffstat (limited to 'grammar.c')
| -rw-r--r-- | grammar.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,6 +10,9 @@ #include "grammar.h" #include "utils.h" +__attribute__((nonnull(2,3,4), returns_nonnull)) +static def_t *with_backref(def_t *defs, file_t *f, const char *name, match_t *m); + // // Return a new list of definitions with one added to the front // @@ -67,7 +70,6 @@ vm_op_t *lookup(def_t *defs, const char *name) // // Push a backreference onto the backreference stack // -__attribute__((nonnull)) static def_t *with_backref(def_t *defs, file_t *f, const char *name, match_t *m) { vm_op_t *op = new(vm_op_t); |
