aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarvin Borner2020-08-22 17:38:40 +0200
committerMarvin Borner2020-08-22 17:38:40 +0200
commit424dc57424ee17de77d689443f95d2e1bed72f4a (patch)
tree1ae2f071ee2de984a2f112de0e69208e593ddc51 /apps
parentd748a6f54ce7af45afde487936d5a02cb2a91b05 (diff)
Added random number generator
Diffstat (limited to 'apps')
-rw-r--r--apps/wm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/wm.c b/apps/wm.c
index 262270a..f3ac901 100644
--- a/apps/wm.c
+++ b/apps/wm.c
@@ -4,6 +4,7 @@
#include <gui.h>
#include <input.h>
#include <print.h>
+#include <random.h>
#include <sys.h>
#include <vesa.h>
@@ -18,6 +19,8 @@ void onkey(u32 scancode)
int main(int argc, char **argv)
{
+ srand(time());
+
printf("ARGC: %d\n", argc);
printf("[%s loaded]\n", argv[0]);