mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 12:18:13 +02:00
shared: add NM_UTILS_USEC_PER_SEC macro
This commit is contained in:
parent
51ed70228f
commit
24b50625bd
1 changed files with 2 additions and 1 deletions
|
|
@ -1198,8 +1198,9 @@ _nm_utils_strv_equal (char **strv1, char **strv2)
|
|||
/*****************************************************************************/
|
||||
|
||||
#define NM_UTILS_NSEC_PER_SEC ((gint64) 1000000000)
|
||||
#define NM_UTILS_NSEC_PER_MSEC ((gint64) 1000000)
|
||||
#define NM_UTILS_USEC_PER_SEC ((gint64) 1000000)
|
||||
#define NM_UTILS_MSEC_PER_SEC ((gint64) 1000)
|
||||
#define NM_UTILS_NSEC_PER_MSEC ((gint64) 1000000)
|
||||
|
||||
static inline gint64
|
||||
NM_UTILS_NSEC_TO_MSEC_CEIL (gint64 nsec)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue