tinyds: use 'rand_r' instead of function 'rand' 95/280795/1
authorduna.oh <duna.oh@samsung.com>
Fri, 2 Sep 2022 06:36:57 +0000 (15:36 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 5 Sep 2022 07:53:42 +0000 (16:53 +0900)
commit081d0eaa9e821ddcc333874a7340b39bed6dc63b
treec46ba56f74c55c0118741b5a16654f4dea280216
parente36ffb094c6a528931226a044cc418d683c188b7
tinyds: use 'rand_r' instead of function 'rand'

For thread safety, rand_r is preferred to use.

Change-Id: I6076f937595480a28fb83e9efadc02e53f345542
examples/tinyds.c