aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/utils.h
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-21 14:39:52 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-21 14:39:52 +0000
commit712969305d814a0e17e2caee39034ab3a6d08845 (patch)
tree3dd28cfae26b84eddc5a655e4ed87151396fcbd9 /include/asterisk/utils.h
parent704310b6672d869217479c9c94fd55301035ea31 (diff)
Add support for using /dev/urandom to get random numbers on systems that support it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76296 f38db490-d61c-443f-a65b-d21fe96a405b
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