diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-12-17 11:09:31 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-12-17 11:09:31 +0200 |
commit | f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a (patch) | |
tree | 4832733b3efc81198c36e893e440ddc41a1b4604 /field.c | |
parent | b1cfda80b2c341e8b8d26f1b693c6c2603c90741 (diff) | |
download | egawk-f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a.tar.gz egawk-f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a.tar.bz2 egawk-f285f960bdfb5acb50a8ec7ed4b98f17d0bd624a.zip |
Make a number of variables and functions be static.
Diffstat (limited to 'field.c')
-rw-r--r-- | field.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -81,13 +81,13 @@ static awk_fieldwidth_info_t *FIELDWIDTHS = NULL; NODE **fields_arr; /* array of pointers to the field nodes */ bool field0_valid; /* $(>0) has not been changed yet */ -int default_FS; /* true when FS == " " */ -Regexp *FS_re_yes_case = NULL; -Regexp *FS_re_no_case = NULL; -Regexp *FS_regexp = NULL; -Regexp *FPAT_re_yes_case = NULL; -Regexp *FPAT_re_no_case = NULL; -Regexp *FPAT_regexp = NULL; +static int default_FS; /* true when FS == " " */ +static Regexp *FS_re_yes_case = NULL; +static Regexp *FS_re_no_case = NULL; +static Regexp *FS_regexp = NULL; +static Regexp *FPAT_re_yes_case = NULL; +static Regexp *FPAT_re_no_case = NULL; +static Regexp *FPAT_regexp = NULL; NODE *Null_field = NULL; #define clear_mpfr(n) ((n)->flags &= ~(MPFN | MPZN | NUMCUR)) @@ -837,7 +837,7 @@ fw_parse_field(long up_to, /* parse only up to this field number */ /* invalidate_field0 --- $0 needs reconstruction */ -void +static void invalidate_field0() { field0_valid = false; |