mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-01 15:10:56 +00:00
hw: suppress deprecated warning in signal.cc
The code will be revisited in the release cycle for version 17.05. As there is nothing a user can do to fix the warning, let's remove it.
This commit is contained in:
parent
56cafb3b57
commit
128faadc31
@ -79,7 +79,7 @@ Signal_receiver::Signal_receiver()
|
|||||||
void Signal_receiver::_platform_destructor()
|
void Signal_receiver::_platform_destructor()
|
||||||
{
|
{
|
||||||
/* release server resources of receiver */
|
/* release server resources of receiver */
|
||||||
env()->pd_session()->free_signal_source(_cap);
|
env_deprecated()->pd_session()->free_signal_source(_cap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ Signal_context_capability Signal_receiver::manage(Signal_context * const c)
|
|||||||
retry<Pd_session::Out_of_metadata>(
|
retry<Pd_session::Out_of_metadata>(
|
||||||
[&] () {
|
[&] () {
|
||||||
/* use signal context as imprint */
|
/* use signal context as imprint */
|
||||||
c->_cap = env()->pd_session()->alloc_context(_cap, (unsigned long)c);
|
c->_cap = env_deprecated()->pd_session()->alloc_context(_cap, (unsigned long)c);
|
||||||
c->_receiver = this;
|
c->_receiver = this;
|
||||||
_contexts.insert(&c->_receiver_le);
|
_contexts.insert(&c->_receiver_le);
|
||||||
return c->_cap;
|
return c->_cap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user