diff options
author | Marvin Borner | 2020-08-22 17:38:40 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-22 17:38:40 +0200 |
commit | 424dc57424ee17de77d689443f95d2e1bed72f4a (patch) | |
tree | 1ae2f071ee2de984a2f112de0e69208e593ddc51 /apps/wm.c | |
parent | d748a6f54ce7af45afde487936d5a02cb2a91b05 (diff) |
Added random number generator
Diffstat (limited to 'apps/wm.c')
-rw-r--r-- | apps/wm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]); |