diff options
author | Thomas Haller <thaller@redhat.com> | 2020-01-03 13:40:11 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-01-28 10:54:14 +0100 |
commit | 24b50625bd1d7f0210703089016817b8ead04682 (patch) | |
tree | 25ba012c1a710fc7714c0f1751e1e9d8a8eb0085 | |
parent | 51ed70228f42fe5e172718cc92c8222ad41fa825 (diff) | |
download | NetworkManager-24b50625bd1d7f0210703089016817b8ead04682.tar.gz |
shared: add NM_UTILS_USEC_PER_SEC macro
-rw-r--r-- | shared/nm-glib-aux/nm-shared-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/nm-glib-aux/nm-shared-utils.h b/shared/nm-glib-aux/nm-shared-utils.h index ad461d9d00..0b550ad051 100644 --- a/shared/nm-glib-aux/nm-shared-utils.h +++ b/shared/nm-glib-aux/nm-shared-utils.h @@ -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) |