summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-05-25 22:53:19 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-05-26 08:26:03 +0200
commit1f8e4cbd5392acdde28e0125aa111ec01a2f6bd2 (patch)
tree4597915d664443ef08f78627b52183efe26c89b5 /util
parentd07ff9eb27a6b96e19e108eb25f1ac9dd79f8efd (diff)
cbfstool: update fmd_scanner.c_shipped
We updated the source files, but not the precompiled results. Change-Id: I49634409d01c8d7cf841944e01d36571ae66c0ac Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10296 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/fmd_scanner.c_shipped12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/cbfstool/fmd_scanner.c_shipped b/util/cbfstool/fmd_scanner.c_shipped
index 6cc22fb405..4f81c206d2 100644
--- a/util/cbfstool/fmd_scanner.c_shipped
+++ b/util/cbfstool/fmd_scanner.c_shipped
@@ -496,8 +496,8 @@ char *yytext;
#include <assert.h>
#include <string.h>
-int parse_integer(char *input, int base);
-int copy_string(const char *input);
+int parse_integer(char *src, int base);
+int copy_string(const char *src);
#line 502 "<stdout>"
#define INITIAL 0
@@ -1817,10 +1817,10 @@ void yyfree (void * ptr )
-int parse_integer(char *input, int base)
+int parse_integer(char *src, int base)
{
char *multiplier = NULL;
- unsigned val = strtoul(input, &multiplier, base);
+ unsigned val = strtoul(src, &multiplier, base);
if (*multiplier) {
switch(*multiplier) {
@@ -1844,9 +1844,9 @@ int parse_integer(char *input, int base)
return INTEGER;
}
-int copy_string(const char *input)
+int copy_string(const char *src)
{
- yylval.strval = strdup(input);
+ yylval.strval = strdup(src);
return STRING;
}