From 7878b8c1ae6b78b35efd3e643099016f56ca9cb8 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 18 Jan 2013 17:26:00 +0000 Subject: - fix build with clang --- benchmarks/filebench/files/patch-parser_gram.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 benchmarks/filebench/files/patch-parser_gram.c (limited to 'benchmarks') diff --git a/benchmarks/filebench/files/patch-parser_gram.c b/benchmarks/filebench/files/patch-parser_gram.c new file mode 100644 index 000000000000..6d9932ccfd54 --- /dev/null +++ b/benchmarks/filebench/files/patch-parser_gram.c @@ -0,0 +1,11 @@ +--- parser_gram.c.orig 2013-01-18 18:18:01.000000000 +0100 ++++ parser_gram.c 2013-01-18 18:18:07.000000000 +0100 +@@ -114,7 +114,7 @@ + /* executable name to execute worker processes later */ + char *execname; + +-static int dofile = DOFILE_FALSE; ++int dofile = DOFILE_FALSE; + static FILE *parentscript; + + static char *fbbasepath = FILEBENCHDIR; -- cgit v1.2.3