summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 7e4955b..f4ce096 100644
--- a/main.c
+++ b/main.c
@@ -14,12 +14,15 @@
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <time.h>
#include "config.h"
#include "pages.h"
int
main(void)
{
+ srand(time(NULL));
for (size_t i = 0; i < sizeof(pages)/sizeof(pages[0]); i++)
{
if (!pages[i].function(pages[i].flags))