[coreboot-gerrit] New patch to review for coreboot: 7a0a4d6 cbfstool: update fmd_scanner.c_shipped
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Mon May 25 22:54:38 CEST 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10296
-gerrit
commit 7a0a4d6eec012857ad8480d181ddff05c834fd5c
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Mon May 25 22:53:19 2015 +0200
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 at georgi-clan.de>
---
util/cbfstool/fmd_scanner.c_shipped | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/util/cbfstool/fmd_scanner.c_shipped b/util/cbfstool/fmd_scanner.c_shipped
index 6cc22fb..4f81c20 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;
}
More information about the coreboot-gerrit
mailing list