diff options
| author | peter <peter@pmikkelsen.com> | 2026-09-04 20:11:09 +0000 |
|---|---|---|
| committer | peter <peter@pmikkelsen.com> | 2026-09-04 20:11:09 +0000 |
| commit | d7c80ae3c76f2dd2e2ce3a39602fa7f04776d9c2 (patch) | |
| tree | fd37dc587f786c22cf69ace481fd8271a4c69449 /src/bin/aplwc_repl.h | |
| parent | fa72ab029ddfcd050f79824bdbea95f77d8f1f60 (diff) | |
Use the same memory-failure mechanism for mallocs
FossilOrigin-Name: fc4f944f1ef599321fac8aa6af72bbe55fb438b4f43800ba37dcfdfa2e6b4c4e
Diffstat (limited to 'src/bin/aplwc_repl.h')
| -rw-r--r-- | src/bin/aplwc_repl.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bin/aplwc_repl.h b/src/bin/aplwc_repl.h index 31a0516..4e594bc 100644 --- a/src/bin/aplwc_repl.h +++ b/src/bin/aplwc_repl.h @@ -31,13 +31,6 @@ #include <aplwc_macros.h> /* util.c */ -unsigned long getenv_ulong(const char *, unsigned long); long getenv_long(const char *, long); -/* wrappers.c */ -void *wrapped_malloc(size_t); -void wrapped_free(void *); -#define malloc(size) wrapped_malloc(size) -#define free(ptr) wrapped_free(ptr) - #endif /* APLWC_REPL_H */ |