mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user