tinyds: use 'rand_r' instead of function 'rand' 47/280847/1
authorduna.oh <duna.oh@samsung.com>
Fri, 2 Sep 2022 06:28:39 +0000 (15:28 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 6 Sep 2022 01:55:54 +0000 (10:55 +0900)
commit4d948ed0eeb40a20867fe962ff4593f1560ccc23
treeb0dd25aeffb4aadd04145b77e454e6dc7b438618
parentfdde359c1102cb86740e77f44e20edd4d60e5c56
tinyds: use 'rand_r' instead of function 'rand'

For thread safety, rand_r is preferred to use.

Change-Id: I56fef4a94ee5110b090add7c1449797956c93db3
examples/tinyds-tdm.c