lib.c revision eebe8b90b8b14d40530e422ab8b42e03b9ebeaf6
/* Copyright (c) 2001-2003 Timo Sirainen */
#include "lib.h"
#include "hostpid.h"
#include <stdlib.h>
#include <time.h>
{
size_t n = 1;
while (n < num) n <<= 1;
return n;
}
void lib_init(void)
{
/* standard way to get rand() return different values. */
imem_init();
hostpid_init();
}
void lib_deinit(void)
{
}