diff options
author | Dimitri Staessens <[email protected]> | 2018-06-13 13:18:10 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-06-13 13:39:55 +0200 |
commit | 47c922f1360990f2da8363aafa0798551a2128ef (patch) | |
tree | 8009e3a2bc692ae279bdc140a931b4baae927a25 /src/tools/oping/oping.c | |
parent | 39e0358161212c5d662208360c1fdcb68ee6b64a (diff) | |
download | ouroboros-47c922f1360990f2da8363aafa0798551a2128ef.tar.gz ouroboros-47c922f1360990f2da8363aafa0798551a2128ef.zip |
lib: Use macros for all time utility functions0.11.9
This replaces the time utility functions with macros. This avoids
using library functions in the tools and also slightly speeds up the
implementation.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/tools/oping/oping.c')
-rw-r--r-- | src/tools/oping/oping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/oping/oping.c b/src/tools/oping/oping.c index 18801c2d..e3e9116f 100644 --- a/src/tools/oping/oping.c +++ b/src/tools/oping/oping.c @@ -46,6 +46,7 @@ #include "time_utils.h" +#include <limits.h> #include <stdio.h> #include <string.h> #include <pthread.h> |