aboutsummaryrefslogtreecommitdiffhomepage
path: root/unix.c
diff options
context:
space:
mode:
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;