mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[input] make delaybound_to_deadline() inline
This commit is contained in:
parent
6cc65f0bea
commit
c038b7538e
@ -2125,7 +2125,7 @@ internal_get(inputctx* ictx, const struct timespec* ts, ncinput* ni){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FIXME kill off for API3, and expect an absolute deadline directly
|
// FIXME kill off for API3, and expect an absolute deadline directly
|
||||||
static void
|
static inline void
|
||||||
delaybound_to_deadline(const struct timespec* ts, struct timespec* absdl){
|
delaybound_to_deadline(const struct timespec* ts, struct timespec* absdl){
|
||||||
if(ts){
|
if(ts){
|
||||||
// incoming ts is a delay bound, but we want an absolute deadline for
|
// incoming ts is a delay bound, but we want an absolute deadline for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user