From: Stanislav Visnovsky
---
core/base/tools/ycpc/ycpc.cc | 2 +-
core/libscr/testsuite/runscr.cc | 2 ++
core/libycp/testsuite/runc.cc | 2 ++
core/libycp/testsuite/runycp.cc | 2 +-
core/wfm/testsuite/runc.cc | 2 ++
core/wfm/testsuite/runwfm.cc | 1 +
6 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/core/base/tools/ycpc/ycpc.cc b/core/base/tools/ycpc/ycpc.cc
index f2a33ea..d951eba 100644
--- a/core/base/tools/ycpc/ycpc.cc
+++ b/core/base/tools/ycpc/ycpc.cc
@@ -47,7 +47,7 @@ static Parser *parser = NULL;
static char *outname = NULL;
-extern ExecutionEnvironment ee;
+ExecutionEnvironment ee;
static int quiet = 0; // no output
static int verbose = 0; // much output
diff --git a/core/libscr/testsuite/runscr.cc b/core/libscr/testsuite/runscr.cc
index 9385933..1245cd8 100644
--- a/core/libscr/testsuite/runscr.cc
+++ b/core/libscr/testsuite/runscr.cc
@@ -24,6 +24,8 @@
extern int yydebug;
+ExecutionEnvironment ee;
+
int
main (int argc, const char *argv[])
{
diff --git a/core/libycp/testsuite/runc.cc b/core/libycp/testsuite/runc.cc
index c54fcbe..94ae379 100644
--- a/core/libycp/testsuite/runc.cc
+++ b/core/libycp/testsuite/runc.cc
@@ -27,6 +27,8 @@
#include "config.h"
+ExecutionEnvironment ee;
+
class TestY2Component : public Y2Component {
virtual Y2Namespace *import (const char* name)
{
diff --git a/core/libycp/testsuite/runycp.cc b/core/libycp/testsuite/runycp.cc
index b75b980..fee5a2e 100644
--- a/core/libycp/testsuite/runycp.cc
+++ b/core/libycp/testsuite/runycp.cc
@@ -29,7 +29,7 @@
#include
#include
-extern ExecutionEnvironment ee;
+ExecutionEnvironment ee;
class TestY2Component : public Y2Component {
virtual Y2Namespace *import (const char* name)
diff --git a/core/wfm/testsuite/runc.cc b/core/wfm/testsuite/runc.cc
index 8403adc..e226ee2 100644
--- a/core/wfm/testsuite/runc.cc
+++ b/core/wfm/testsuite/runc.cc
@@ -30,6 +30,8 @@
#include "config.h"
+ExecutionEnvironment ee;
+
class TestY2Component : public Y2Component {
virtual Y2Namespace *import (const char* name)
{
diff --git a/core/wfm/testsuite/runwfm.cc b/core/wfm/testsuite/runwfm.cc
index a67b960..09a5e49 100644
--- a/core/wfm/testsuite/runwfm.cc
+++ b/core/wfm/testsuite/runwfm.cc
@@ -27,6 +27,7 @@
#include
#include
+ExecutionEnvironment ee;
extern int yydebug;
int
--
1.7.3.2
--
To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org
For additional commands, e-mail: yast-devel+help@opensuse.org