diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-04-04 10:41:37 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-04-04 10:00:49 +0000 |
commit | 60d5edb41ccf5d4d956c678e9091a5aae8ef622c (patch) | |
tree | 6b81be533634869383baf16db6e9e53c01603b82 /tools | |
parent | 8131922b269eea6a1b84668e0b4ed70a4da29620 (diff) |
lemon: make some functions static.
Change-Id: I41a78d6cb87223d13854ca4aad4ffdf70daecaf3
Reviewed-on: https://code.wireshark.org/review/26687
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lemon/lemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 24f761e3d3..5404a19c12 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -791,7 +791,7 @@ PRIVATE int acttab_insert(acttab *p, int makeItSafe) { ** Return the size of the action table without the trailing syntax error ** entries. */ -int acttab_action_size(acttab *p) { +static int acttab_action_size(acttab *p) { int n = p->nAction; while (n>0 && p->aAction[n - 1].lookahead<0) { n--; } return n; @@ -3143,7 +3143,7 @@ PRIVATE FILE *file_open( /* Print the text of a rule */ -void rule_print(FILE *out, struct rule *rp) { +static void rule_print(FILE *out, struct rule *rp) { int i, j; fprintf(out, "%s", rp->lhs->name); /* if( rp->lhsalias ) fprintf(out,"(%s)",rp->lhsalias); */ |