Remove useless <time.h> dependency

This commit is contained in:
BONNAURE Olivier 2024-04-09 17:29:08 +02:00
parent 1f7445ad37
commit 41d7ef9569

View file

@ -72,7 +72,6 @@
#include "third_party/mbedtls/sha512.h"
#include "third_party/musl/netdb.h"
#include "third_party/zlib/zlib.h"
#include <time.h>
static int Rdpid(void) {
#ifdef __x86_64__
@ -830,9 +829,9 @@ int LuaVisualizeControlCodes(lua_State *L) {
return LuaCoder(L, VisualizeControlCodes);
}
int LuaUuidV4(lua_State *L) {
char v[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
char v[] = {'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
static char uuid_str[37] = {0};
uuid_str[0] = v[rand() % 16];