dde_linux: move Format_command class to Lx namespace

Otherwise the class symbols may clash with other global symbols (in base
console.cc).
This commit is contained in:
Christian Helmuth 2016-06-27 16:38:42 +02:00
parent 17beb9a463
commit 7d2a75856f

View File

@ -19,7 +19,10 @@
#include <lx_emul.h>
namespace Lx { class Console; }
namespace Lx {
class Console;
class Format_command;
}
extern "C" int stdout_write(const char *s);
@ -28,7 +31,7 @@ static const bool verbose_console = false;
/**
* Format string command representation
*/
class Format_command
class Lx::Format_command
{
public:
@ -300,7 +303,6 @@ class Lx::Console
void vprintf(const char *format, va_list list)
{
while (*format) {
/* eat and output plain characters */