mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 09:15:36 +00:00
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:
@ -19,7 +19,10 @@
|
|||||||
#include <lx_emul.h>
|
#include <lx_emul.h>
|
||||||
|
|
||||||
|
|
||||||
namespace Lx { class Console; }
|
namespace Lx {
|
||||||
|
class Console;
|
||||||
|
class Format_command;
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" int stdout_write(const char *s);
|
extern "C" int stdout_write(const char *s);
|
||||||
|
|
||||||
@ -28,7 +31,7 @@ static const bool verbose_console = false;
|
|||||||
/**
|
/**
|
||||||
* Format string command representation
|
* Format string command representation
|
||||||
*/
|
*/
|
||||||
class Format_command
|
class Lx::Format_command
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -300,7 +303,6 @@ class Lx::Console
|
|||||||
|
|
||||||
void vprintf(const char *format, va_list list)
|
void vprintf(const char *format, va_list list)
|
||||||
{
|
{
|
||||||
|
|
||||||
while (*format) {
|
while (*format) {
|
||||||
|
|
||||||
/* eat and output plain characters */
|
/* eat and output plain characters */
|
||||||
|
Reference in New Issue
Block a user