-
- Downloads
clock: Remove old type-less time literals
Drop the s64 literals _ms, _ns, etc., from <drivers/clock.hh>. Fix a few places which still use the old literals. The std:chrono::duration version from <osv/clock.hh> remains - but remember you need to "using namespace osv::clock::literals" to use them. Reviewed-by:Glauber Costa <glommer@cloudius-systems.com> Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Showing
- core/dhcp.cc 2 additions, 2 deletionscore/dhcp.cc
- core/poll.cc 2 additions, 1 deletioncore/poll.cc
- drivers/acpi.cc 1 addition, 2 deletionsdrivers/acpi.cc
- drivers/clock.hh 0 additions, 21 deletionsdrivers/clock.hh
- drivers/xenfront-xenbus.cc 2 additions, 1 deletiondrivers/xenfront-xenbus.cc
- libc/timerfd.cc 12 additions, 10 deletionslibc/timerfd.cc
- tests/tst-epoll.cc 4 additions, 3 deletionstests/tst-epoll.cc
- tests/tst-timer.hh 12 additions, 1 deletiontests/tst-timer.hh
Loading
Please register or sign in to comment