mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
/dev/random: Add configuration option to use the congruential PRNG.
This commit is contained in:
+5
-1
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/lib.h
|
||||
* Non-standard, internal APIs available in lib/.
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2012-2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007-2009, 2012-2014, 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -77,6 +77,10 @@ void lib_stream_initialize(FAR struct task_group_s *group);
|
||||
void lib_stream_release(FAR struct task_group_s *group);
|
||||
#endif
|
||||
|
||||
/* Functions defined in lib_srand.c *****************************************/
|
||||
|
||||
unsigned long nrand(unsigned long limit);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user