diff --git a/net/utils/net_dsec2tick.c b/net/utils/net_dsec2tick.c index 258f6cbfa1..7e97965b91 100644 --- a/net/utils/net_dsec2tick.c +++ b/net/utils/net_dsec2tick.c @@ -40,6 +40,8 @@ #include #include +#include "utils/utils.h" + /**************************************************************************** * Public Functions ****************************************************************************/ @@ -58,7 +60,7 @@ * ****************************************************************************/ -int net_dsec2tick(int dsec) +unsigned int net_dsec2tick(int dsec) { /* Convert the deci-second comparison value to clock ticks. The CLK_TCK * value is the number of clock ticks per second; decisecs argument is the diff --git a/net/utils/net_dsec2timeval.c b/net/utils/net_dsec2timeval.c index 990f1f3a5b..41c48f6e86 100644 --- a/net/utils/net_dsec2timeval.c +++ b/net/utils/net_dsec2timeval.c @@ -39,10 +39,7 @@ #include -#include #include -#include -#include #include