diff options
Diffstat (limited to 'libddekit/resources.c')
-rw-r--r-- | libddekit/resources.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libddekit/resources.c b/libddekit/resources.c index 212dcae7..45704378 100644 --- a/libddekit/resources.c +++ b/libddekit/resources.c @@ -1,3 +1,4 @@ +#include <stdlib.h> #include <error.h> #include <sys/io.h> #include <mach.h> @@ -117,3 +118,8 @@ int ddekit_release_mem(ddekit_addr_t start, ddekit_addr_t count) { } return 0; } + +long ddekit_random () +{ + return random (); +} |