time.h

unable to use time.h file 

i have used:

#include time.h in main.c

added time.h file from C:\Keil_v5\ARM\ARMCC\include\time.h

when i use 

time_t T = time(NULL);
srand(T);

but it throw error

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol time (referred from main.o).

Related