Add lwip_port_rand() to unix port

This commit is contained in:
Dirk Ziegelmeier
2019-02-02 22:37:18 +01:00
parent cbc80a0920
commit aa4668cc47
2 changed files with 8 additions and 1 deletions

View File

@@ -68,6 +68,12 @@
#include "lwip/stats.h"
#include "lwip/tcpip.h"
u32_t
lwip_port_rand(void)
{
return rand();
}
static void
get_monotonic_time(struct timespec *ts)
{