diff rogue4/extern.h @ 252:3d4252fa2ed3

Use more portable random seed generation. The new function md_random_seed() has replaced time() + getpid() and similar methods. Putting everything in mdport.c slightly reduces the warnings and workarounds.
author John "Elwin" Edwards
date Sat, 28 Jan 2017 15:49:41 -0500
parents b24545357d2e
children d3968e9cb98d
line wrap: on
line diff
--- a/rogue4/extern.h	Sat Jan 28 11:45:36 2017 -0500
+++ b/rogue4/extern.h	Sat Jan 28 15:49:41 2017 -0500
@@ -93,3 +93,4 @@
 extern void  md_sleep(int s);
 extern int   md_unlink(char *file);
 extern int   md_unlink_open_file(char *file, int inf);
+extern unsigned int md_random_seed(void);