mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 03:48:34 +00:00
Bug 5961 - new RAND() function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -235,4 +235,10 @@ char *ast_process_quotes_and_slashes(char *start, char find, char replace_with);
|
||||
int getloadavg(double *list, int nelem);
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#define ast_random random
|
||||
#else
|
||||
long int ast_random(void);
|
||||
#endif
|
||||
|
||||
#endif /* _ASTERISK_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user