mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Improve documentation
The Cosmo API documentation page is pretty good now https://justine.lol/cosmopolitan/documentation.html
This commit is contained in:
parent
13437dd19b
commit
1bc3a25505
367 changed files with 2542 additions and 26178 deletions
6
third_party/dlmalloc/dlmalloc.c
vendored
6
third_party/dlmalloc/dlmalloc.c
vendored
|
@ -1,5 +1,5 @@
|
|||
#include "libc/bits/initializer.internal.h"
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/bits/safemacros.h"
|
||||
#include "libc/calls/internal.h"
|
||||
#include "libc/calls/struct/sysinfo.h"
|
||||
#include "libc/dce.h"
|
||||
|
@ -21,8 +21,8 @@ STATIC_YOINK("_init_dlmalloc");
|
|||
#define OOM_WARNING "warning: running out of physical memory\n"
|
||||
#define is_global(M) ((M) == g_dlmalloc)
|
||||
|
||||
struct MallocState g_dlmalloc[1];
|
||||
struct MallocParams g_mparams;
|
||||
hidden struct MallocState g_dlmalloc[1];
|
||||
hidden struct MallocParams g_mparams;
|
||||
|
||||
/**
|
||||
* Acquires more system memory for dlmalloc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue