summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.l
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.l
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.l')
-rw-r--r--hl/src/H5LTanalyze.l4
1 files changed, 2 insertions, 2 deletions
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;