libc: minimal: add prototype of rand()

Add prototype of rand() that can be defined in tests.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-03-03 08:46:02 -05:00 committed by Andrew Boie
parent 99beaed7c0
commit 3caea8c81e

View file

@ -24,6 +24,8 @@ void *calloc(size_t nmemb, size_t size);
void *realloc(void *ptr, size_t size);
void *reallocarray(void *ptr, size_t nmemb, size_t size);
int rand(void);
#define abs(x) ((x) < 0 ? -(x) : (x))
#ifdef __cplusplus