mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +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;
|
||||
static int fd = -1;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user