mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-08 00:44:42 +00:00
libc cleanup (#1568)
* libc cleanup * Suggested changes, small alloca tweak * Remove printf include
This commit is contained in:
parent
4e55168eaa
commit
3475651701
46 changed files with 571 additions and 432 deletions
|
@ -1,16 +1,17 @@
|
|||
#ifndef STDLIB_H
|
||||
#define STDLIB_H
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
typedef struct lldiv_t {
|
||||
s64 quot;
|
||||
s64 rem;
|
||||
long long quot;
|
||||
long long rem;
|
||||
} lldiv_t;
|
||||
|
||||
typedef struct ldiv_t {
|
||||
s32 quot;
|
||||
s32 rem;
|
||||
long quot;
|
||||
long rem;
|
||||
} ldiv_t;
|
||||
|
||||
ldiv_t ldiv(long num, long denom);
|
||||
lldiv_t lldiv(long long num, long long denom);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue