diff options
author | Sean McBride <sean@rogue-research.com> | 2021-05-04 20:56:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 20:56:33 (GMT) |
commit | dc639bddb8a8a59d28de6d800f26e53e19b93db3 (patch) | |
tree | 974639813e9fd26df9c14606dc138388b18b1ae4 /hl/src | |
parent | dbe7204085d46188414fd9d9e0dde48afcf30f28 (diff) | |
download | hdf5-dc639bddb8a8a59d28de6d800f26e53e19b93db3.zip hdf5-dc639bddb8a8a59d28de6d800f26e53e19b93db3.tar.gz hdf5-dc639bddb8a8a59d28de6d800f26e53e19b93db3.tar.bz2 |
Made private my_yyinput function static (#618)
This prevents it being exported as a public symbol.
Diffstat (limited to 'hl/src')
-rw-r--r-- | hl/src/H5LTanalyze.c | 4 | ||||
-rw-r--r-- | hl/src/H5LTanalyze.l | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/hl/src/H5LTanalyze.c b/hl/src/H5LTanalyze.c index 65da9d0..875a37a 100644 --- a/hl/src/H5LTanalyze.c +++ b/hl/src/H5LTanalyze.c @@ -916,7 +916,7 @@ char *yytext; #include "H5LTparse.h" static char *trim_quotes(const char *); -int my_yyinput(char *, int); +static int my_yyinput(char *, int); #undef YY_INPUT #define YY_INPUT(b, r, ms) (r=my_yyinput(b, ms)) #define token(x) (int)x @@ -2554,7 +2554,7 @@ trim_quotes(const char *quoted) return trimmed; } -int my_yyinput(char *buf, int max_size) +static int my_yyinput(char *buf, int max_size) { int ret; diff --git a/hl/src/H5LTanalyze.l b/hl/src/H5LTanalyze.l index fd1cbe5..5006612 100644 --- a/hl/src/H5LTanalyze.l +++ b/hl/src/H5LTanalyze.l @@ -27,7 +27,7 @@ #include "H5LTparse.h" static char *trim_quotes(const char *); -int my_yyinput(char *, int); +static int my_yyinput(char *, int); #undef YY_INPUT #define YY_INPUT(b, r, ms) (r=my_yyinput(b, ms)) #define token(x) (int)x @@ -144,7 +144,7 @@ trim_quotes(const char *quoted) return trimmed; } -int my_yyinput(char *buf, int max_size) +static int my_yyinput(char *buf, int max_size) { int ret; |