mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
sched: use shorter data type for timeout IDs
This commit is contained in:
2
sched.h
2
sched.h
@@ -30,7 +30,7 @@
|
|||||||
#include "sysincl.h"
|
#include "sysincl.h"
|
||||||
|
|
||||||
/* Type for timeout IDs, valid IDs are always greater than zero */
|
/* Type for timeout IDs, valid IDs are always greater than zero */
|
||||||
typedef unsigned long SCH_TimeoutID;
|
typedef unsigned int SCH_TimeoutID;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SCH_ReservedTimeoutValue = 0,
|
SCH_ReservedTimeoutValue = 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user