diff options
Diffstat (limited to 'src/libs/zbxcommon/time.c')
-rw-r--r-- | src/libs/zbxcommon/time.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libs/zbxcommon/time.c b/src/libs/zbxcommon/time.c index c996533adef..89e1d6f6d04 100644 --- a/src/libs/zbxcommon/time.c +++ b/src/libs/zbxcommon/time.c @@ -50,8 +50,6 @@ zbx_time_unit_t zbx_tm_str_to_unit(const char *text) /****************************************************************************** * * - * Function: zbx_tm_parse_period * - * * * Purpose: parse time period in format <multiplier><time unit> * * * * Parameters: period - [IN] the time period * @@ -90,8 +88,6 @@ int zbx_tm_parse_period(const char *period, size_t *len, int *multiplier, zbx_ti /****************************************************************************** * * - * Function: tm_add_seconds * - * * * Purpose: add seconds to the time and adjust result by dst * * * * Parameter: tm - [IN/OUT] the time structure * @@ -125,8 +121,6 @@ static void tm_add_seconds(struct tm *tm, int seconds) /****************************************************************************** * * - * Function: tm_add * - * * * Purpose: add time duration without adjusting DST clocks * * * * Parameter: tm - [IN/OUT] the time structure * @@ -181,8 +175,6 @@ static void tm_add(struct tm *tm, int multiplier, zbx_time_unit_t base) /****************************************************************************** * * - * Function: zbx_tm_add * - * * * Purpose: add time duration * * * * Parameter: tm - [IN/OUT] the time structure * @@ -210,8 +202,6 @@ void zbx_tm_add(struct tm *tm, int multiplier, zbx_time_unit_t base) /****************************************************************************** * * - * Function: neg_to_pos_wrap * - * * * Purpose: convert negative number to positive by wrapping around the base * * * * Parameter: value - [IN/OUT] the value to convert * @@ -227,8 +217,6 @@ static void neg_to_pos_wrap(int *value, int base) /****************************************************************************** * * - * Function: tm_sub * - * * * Purpose: subtracts time duration without adjusting DST clocks * * * * Parameter: tm - [IN/OUT] the time structure * @@ -294,8 +282,6 @@ static void tm_sub(struct tm *tm, int multiplier, zbx_time_unit_t base) /****************************************************************************** * * - * Function: zbx_tm_sub * - * * * Purpose: subtracts time duration * * * * Parameter: tm - [IN/OUT] the time structure * @@ -337,8 +323,6 @@ void zbx_tm_sub(struct tm *tm, int multiplier, zbx_time_unit_t base) /****************************************************************************** * * - * Function: zbx_tm_round_up * - * * * Purpose: rounds time by the specified unit upwards * * * * Parameter: tm - [IN/OUT] the time structure * @@ -404,8 +388,6 @@ void zbx_tm_round_up(struct tm *tm, zbx_time_unit_t base) /****************************************************************************** * * - * Function: zbx_tm_round_down * - * * * Purpose: rounds time by the specified unit downwards * * * * Parameter: tm - [IN/OUT] the time structure * @@ -476,8 +458,6 @@ static int get_week_days(int yday, int wday) /****************************************************************************** * * - * Function: zbx_get_week_number * - * * * Purpose: get ISO 8061 week number (1-53) * * * ******************************************************************************/ |