summaryrefslogtreecommitdiff
path: root/include/asterisk/utils.h
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-07-21 14:39:52 +0000
committerJoshua Colp <jcolp@digium.com>2007-07-21 14:39:52 +0000
commit93b72115d103f1c64be87699a15402044ff6765b (patch)
tree3dd28cfae26b84eddc5a655e4ed87151396fcbd9 /include/asterisk/utils.h
parented604a6df85998e794b1c88e2efc811e9d5e3cf0 (diff)
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
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r--include/asterisk/utils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index f9fa0f47e..6f97770d9 100644
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -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