ldso: fix compiler errors with C++11

The warning

  error: expected unqualified-id before ‘STRING_USERDEF’ token

was caused by a missing whitespace in 'extern "C"int'.
This commit is contained in:
Christian Helmuth 2013-09-18 16:40:14 +02:00 committed by Norman Feske
parent 0d5d74fec6
commit 5299dc4ab8
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ namespace Genode {
}
extern "C"int open(const char *pathname, int flags)
extern "C" int open(const char *pathname, int flags)
{
using namespace Genode;
static int fd = -1;

View File

@ -26,7 +26,7 @@ extern "C" int printf(char const *format, ...)
return 0;
}
extern "C"inline
extern "C" inline
int vprintf(const char *format, va_list ap)
{
Genode::vprintf(format, ap);