Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-25 23:53:51 +00:00
parent e0319f0116
commit b84c929e64
3 changed files with 24 additions and 0 deletions
+10
View File
@@ -71,6 +71,16 @@
#define ELOTTERY ECANCELED
void *
rmalloc(size_t *rval)
{
if (if_err(rval == NULL, EFAULT))
return NULL;
rset(rval, sizeof(*rval));
return mkrstr(*rval %= BUFSIZ);
}
int
win_lottery(void)
{