Skip to content

Commit

Permalink
.......... [DEV-2051] removed functions names from the function comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arimdjonokszabbix committed Jan 11, 2022
2 parents 168d08c + ef58824 commit c524198
Show file tree
Hide file tree
Showing 248 changed files with 100 additions and 6,853 deletions.
6 changes: 0 additions & 6 deletions bin/win32/dev/zabbix_sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ typedef struct
zabbix_sender_info_t;

/******************************************************************************
* *
* Function: zabbix_sender_send_values *
* *
* Purpose: send values to Zabbix server/proxy *
* *
Expand All @@ -73,8 +71,6 @@ ZBX_API int zabbix_sender_send_values(const char *address, unsigned short port,
const zabbix_sender_value_t *values, int count, char **result);

/******************************************************************************
* *
* Function: zabbix_sender_parse_result *
* *
* Purpose: parses the result returned from zabbix_sender_send_values() *
* function *
Expand All @@ -96,8 +92,6 @@ ZBX_API int zabbix_sender_send_values(const char *address, unsigned short port,
ZBX_API int zabbix_sender_parse_result(const char *result, int *response, zabbix_sender_info_t *info);

/******************************************************************************
* *
* Function: zabbix_sender_free_result *
* *
* Purpose: free data allocated by zabbix_sender_send_values() function *
* *
Expand Down
6 changes: 0 additions & 6 deletions bin/win64/dev/zabbix_sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ typedef struct
zabbix_sender_info_t;

/******************************************************************************
* *
* Function: zabbix_sender_send_values *
* *
* Purpose: send values to Zabbix server/proxy *
* *
Expand All @@ -73,8 +71,6 @@ ZBX_API int zabbix_sender_send_values(const char *address, unsigned short port,
const zabbix_sender_value_t *values, int count, char **result);

/******************************************************************************
* *
* Function: zabbix_sender_parse_result *
* *
* Purpose: parses the result returned from zabbix_sender_send_values() *
* function *
Expand All @@ -96,8 +92,6 @@ ZBX_API int zabbix_sender_send_values(const char *address, unsigned short port,
ZBX_API int zabbix_sender_parse_result(const char *result, int *response, zabbix_sender_info_t *info);

/******************************************************************************
* *
* Function: zabbix_sender_free_result *
* *
* Purpose: free data allocated by zabbix_sender_send_values() function *
* *
Expand Down
4 changes: 0 additions & 4 deletions src/libs/zbxalgo/algodefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,6 @@ int next_prime(int n)
}

/******************************************************************************
* *
* Function: zbx_isqrt32 *
* *
* Purpose: calculate integer part of square root of a 32 bit integer value *
* *
Expand Down Expand Up @@ -421,8 +419,6 @@ unsigned int zbx_isqrt32(unsigned int value)
}

/******************************************************************************
* *
* Function: zbx_gen_uuid4 *
* *
* Purpose: calculate UUID version 4 as string of 32 symbols *
* *
Expand Down
8 changes: 0 additions & 8 deletions src/libs/zbxalgo/evaluate.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ static double evaluate_number(int *unknown_idx)
}

/******************************************************************************
* *
* Function: variant_convert_to_double *
* *
* Purpose: cast string variant to a double variant *
* *
Expand All @@ -201,8 +199,6 @@ static void variant_convert_to_double(zbx_variant_t *var)
}

/******************************************************************************
* *
* Function: variant_get_double *
* *
* Purpose: get variant value in double (float64) format *
* *
Expand Down Expand Up @@ -1043,8 +1039,6 @@ int evaluate(double *value, const char *expression, char *error, size_t max_erro
}

/******************************************************************************
* *
* Function: evaluate_unknown *
* *
* Purpose: evaluate an expression like "(26.416>10) and not(0=ZBX_UNKNOWN0)" *
* *
Expand Down Expand Up @@ -1095,8 +1089,6 @@ int evaluate_unknown(const char *expression, double *value, char *error, size_t
}

/******************************************************************************
* *
* Function: evaluate_string_to_double *
* *
* Purpose: cast string to a double, expand suffixes and parse negative sign *
* *
Expand Down
2 changes: 0 additions & 2 deletions src/libs/zbxalgo/hashset.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ void zbx_hashset_destroy(zbx_hashset_t *hs)
}

/******************************************************************************
* *
* Function: zbx_hashset_reserve *
* *
* Purpose: allocation not less than the required number of slots for hashset *
* *
Expand Down
18 changes: 0 additions & 18 deletions src/libs/zbxalgo/int128.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#define UINT32_BIT_MASK (~((~__UINT64_C(0)) << UINT32_BIT_COUNT))

/******************************************************************************
* *
* Function: udec128_128 *
* *
* Purpose: Decrement of 128 bit unsigned integer by the specified value. *
* *
Expand All @@ -45,8 +43,6 @@ static void udec128_128(zbx_uint128_t *base, const zbx_uint128_t *value)
}

/******************************************************************************
* *
* Function: ushiftr128 *
* *
* Purpose: Logical right shift of 128 bit unsigned integer. *
* *
Expand All @@ -73,8 +69,6 @@ static void ushiftr128(zbx_uint128_t *base, unsigned int bits)
}

/******************************************************************************
* *
* Function: ushiftl128 *
* *
* Purpose: Logical left shift of 128 bit unsigned integer. *
* *
Expand All @@ -101,8 +95,6 @@ static void ushiftl128(zbx_uint128_t *base, unsigned int bits)
}

/******************************************************************************
* *
* Function: ucmp128_128 *
* *
* Purpose: Comparison of two 128 bit unsigned integer values. *
* *
Expand All @@ -124,8 +116,6 @@ static int ucmp128_128(const zbx_uint128_t *value1, const zbx_uint128_t *value2)
}

/******************************************************************************
* *
* Function: umul64_32_shift *
* *
* Purpose: Multiplication of 64 bit unsigned integer with 32 bit unsigned *
* integer value, shifted left by specified number of bits *
Expand Down Expand Up @@ -153,8 +143,6 @@ static void umul64_32_shift(zbx_uint128_t *base, zbx_uint64_t value, zbx_uint64_
}

/******************************************************************************
* *
* Function: uinc128_64 *
* *
* Purpose: Increment of 128 bit unsigned integer by the specified 64 bit *
* value. *
Expand All @@ -174,8 +162,6 @@ void uinc128_64(zbx_uint128_t *base, zbx_uint64_t value)
}

/******************************************************************************
* *
* Function: uinc128_128 *
* *
* Purpose: Increment of 128 bit unsigned integer by the specified 128 bit *
* value *
Expand All @@ -196,8 +182,6 @@ void uinc128_128(zbx_uint128_t *base, const zbx_uint128_t *value)
}

/******************************************************************************
* *
* Function: umul64_64 *
* *
* Purpose: Multiplication of two 64 bit unsigned integer values. *
* *
Expand All @@ -216,8 +200,6 @@ void umul64_64(zbx_uint128_t *result, zbx_uint64_t value, zbx_uint64_t factor)
}

/******************************************************************************
* *
* Function: udiv128_64 *
* *
* Purpose: Division of 128 bit unsigned integer by a 64 bit unsigned integer *
* value. *
Expand Down
Loading

0 comments on commit c524198

Please sign in to comment.