Skip to content

Commit

Permalink
random: rename function flb_randombytes() to flb_random_bytes()
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Sep 24, 2020
1 parent ab79147 commit e2b4513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/fluent-bit/flb_random.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
* Fill buffer with the random bytes. Return 0 on success;
* -1 on error.
*/
int flb_randombytes(unsigned char *buf, int len);
int flb_random_bytes(unsigned char *buf, int len);

#endif
2 changes: 1 addition & 1 deletion src/flb_random.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* On Unix, we use /dev/urandom as a secure random source.
*/

int flb_randombytes(unsigned char *buf, int len)
int flb_random_bytes(unsigned char *buf, int len)
{
#ifdef FLB_SYSTEM_WINDOWS
NTSTATUS ret;
Expand Down

0 comments on commit e2b4513

Please sign in to comment.