mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
libc: Remove unused print function from select.cc.
This static inline function is not used anywhere. GCC does not care, but clang warns about this. Remove the function to allow the code to compile cleanly with both clang and GCC. Issue #3985
This commit is contained in:
parent
53081ac6b3
commit
395a9b5bf5
@ -221,20 +221,6 @@ void Libc::select_notify_from_kernel()
|
||||
}
|
||||
|
||||
|
||||
static inline void print(Output &output, timeval *tv)
|
||||
{
|
||||
if (!tv) {
|
||||
print(output, "nullptr");
|
||||
} else {
|
||||
print(output, "{");
|
||||
print(output, tv->tv_sec);
|
||||
print(output, ",");
|
||||
print(output, tv->tv_usec);
|
||||
print(output, "}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extern "C" __attribute__((weak))
|
||||
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
|
||||
struct timeval *tv)
|
||||
|
Loading…
Reference in New Issue
Block a user