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 /bp.c | |
| parent | 2d109f974b6a03a79db3dd8a5ffe5c2aff76659e (diff) | |
Added forward declarations for static functions
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -41,11 +41,15 @@ static const char *usage = ( static print_options_t print_options = 0; +__attribute__((nonnull)) +static char *getflag(const char *flag, char *argv[], int *i); +__attribute__((nonnull(3))) +static int process_file(def_t *defs, const char *filename, vm_op_t *pattern, unsigned int flags); + // // Return a pointer to the value part of a flag, if present, otherwise NULL. // This works for --foo=value or --foo value // -__attribute__((nonnull)) static char *getflag(const char *flag, char *argv[], int *i) { size_t n = strlen(flag); |
