shrub/vere
Jōshin 67c0b7b39b Clean up allocator defs
- Condense the allocator section in defs.h and make it match the
  surrounding style.

- Use real calloc in c3_calloc. Some guy on the internet says
  calloc can be faster than malloc since the OS may not actually
  need to call memset.

- Replace calloc calls in vere code with c3_calloc.

Note that I left the c3_calloc definition as-is (i.e., not taking
a count argument). I was going to change it, but it seems like
count is 1 at all call sites. If it's ever used with count != 1,
I'd be in support of changing it, fwiw.
2019-01-02 11:23:06 -08:00
..
ames.c updates ames to always allocate 2K bytes on read 2018-12-11 18:39:02 -05:00
behn.c trailing whitespace 2018-12-11 18:42:38 -08:00
cttp.c fixes 0-byte allocation in _cttp_bods_to_vec() 2018-12-08 20:09:23 -05:00
dawn.c Update comments in dawn to reflect changes in urbit/arvo#958 2018-12-21 18:00:48 +01:00
http.c adds and uses c3_realloc() 2018-12-08 20:09:23 -05:00
loop.c updates u3_raft_work() to be async, adds sync u3_raft_play() 2018-12-11 17:13:55 -05:00
main.c Only bail if profiling is enabled 2018-12-14 23:04:38 +00:00
raft.c Clean up allocator defs 2019-01-02 11:23:06 -08:00
reck.c removes unused variable in _reck_kick_spec() 2018-12-10 12:01:03 -05:00
save.c removes i/o polling 2018-11-26 16:29:38 -05:00
sist.c Clean up allocator defs 2019-01-02 11:23:06 -08:00
term.c Clean up allocator defs 2019-01-02 11:23:06 -08:00
time.c descriptive names for c files 2015-06-23 21:29:11 -04:00
unix.c ensure file path is always freed 2018-12-10 18:02:37 -05:00
walk.c recursively mkdir in u3_walk_save 2018-03-02 17:39:08 -05:00