summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-05-04 20:56:33 (GMT)
committerGitHub <noreply@github.com>2021-05-04 20:56:33 (GMT)
commitdc639bddb8a8a59d28de6d800f26e53e19b93db3 (patch)
tree974639813e9fd26df9c14606dc138388b18b1ae4 /hl/src/H5LTanalyze.c
parentdbe7204085d46188414fd9d9e0dde48afcf30f28 (diff)
downloadhdf5-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/H5LTanalyze.c')
-rw-r--r--hl/src/H5LTanalyze.c4
1 files changed, 2 insertions, 2 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;