mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-29 05:34:23 +00:00
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:
parent
0d5d74fec6
commit
5299dc4ab8
@ -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;
|
using namespace Genode;
|
||||||
static int fd = -1;
|
static int fd = -1;
|
||||||
|
@ -26,7 +26,7 @@ extern "C" int printf(char const *format, ...)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C"inline
|
extern "C" inline
|
||||||
int vprintf(const char *format, va_list ap)
|
int vprintf(const char *format, va_list ap)
|
||||||
{
|
{
|
||||||
Genode::vprintf(format, ap);
|
Genode::vprintf(format, ap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user