mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Add support for using /dev/urandom to get random numbers on systems that support it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -393,11 +393,7 @@ int ast_pthread_create_detached_stack(pthread_t *thread, pthread_attr_t *attr, v
|
||||
*/
|
||||
char *ast_process_quotes_and_slashes(char *start, char find, char replace_with);
|
||||
|
||||
#ifdef linux
|
||||
#define ast_random random
|
||||
#else
|
||||
long int ast_random(void);
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \brief free() wrapper
|
||||
|
Reference in New Issue
Block a user