aboutsummaryrefslogtreecommitdiffhomepage
path: root/unix.c
diff options
context:
space:
mode:
authorlsalzman <[email protected]>2013-08-09 09:41:57 +0300
committerlsalzman <[email protected]>2013-08-09 09:41:57 +0300
commit1658cf3a9527c47a76c79efbe477bbbe3350d847 (patch)
tree4168ad2c864857112114b8b317168be3097d0c53 /unix.c
parent4697a58d53ca1027a78f7f36a2544ad653e2aa09 (diff)
downloadenet-1658cf3a9527c47a76c79efbe477bbbe3350d847.tar.gz
enet-1658cf3a9527c47a76c79efbe477bbbe3350d847.zip
stub out enet_host_random_seed()
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index 47ffcb9..56b09d3 100644
--- a/unix.c
+++ b/unix.c
@@ -69,6 +69,12 @@ enet_deinitialize (void)
}
enet_uint32
+enet_host_random_seed (void)
+{
+ return (enet_uint32) time (NULL);
+}
+
+enet_uint32
enet_time_get (void)
{
struct timeval timeVal;