mirror of
https://github.com/coturn/coturn.git
synced 2025-10-24 20:41:03 +02:00
added missing function prototype of turn_random_number() (#1428)
trivial - cmake generated a warning that `ns_turn_msg.c` used a function that had no prior prototype - most other files used the `turn_random()` function but this uses `turn_random_number()` which has no prototype, so i've added it to the header file
This commit is contained in:
parent
9dfe8d5128
commit
0c8d646e2d
@ -208,6 +208,7 @@ size_t get_hmackey_size(SHATYPE shatype);
|
||||
|
||||
#define TURN_RANDOM_SIZE (sizeof(long))
|
||||
long turn_random(void);
|
||||
long turn_random_number(void);
|
||||
|
||||
int stun_produce_integrity_key_str(const uint8_t *uname, const uint8_t *realm, const uint8_t *upwd, hmackey_t key,
|
||||
SHATYPE shatype);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user