diff options
author | 1999-12-16 17:07:20 +0000 | |
---|---|---|
committer | 1999-12-16 17:07:20 +0000 | |
commit | dcd42216be79e51028dbc6fa0be1a3837ec10dd3 (patch) | |
tree | a51e9e64017a5836e1743baa5d3f513a8f21d3df /lib/libc/stdlib/calloc.c | |
parent | Allocate buffers as static data structures. (diff) | |
download | wireguard-openbsd-dcd42216be79e51028dbc6fa0be1a3837ec10dd3.tar.xz wireguard-openbsd-dcd42216be79e51028dbc6fa0be1a3837ec10dd3.zip |
for.c becomes sane.
- split For_Eval into For_Eval (first line of loop) / For_Accumulate
(remaining lines).
- encapsulate state into a For structure, instead of brain damaged static
variables that need copy.
Very minor performance hit, specifically, For structure is allocated with
malloc/free, instead of playing tricks with static/auto variables.
Diffstat (limited to 'lib/libc/stdlib/calloc.c')
0 files changed, 0 insertions, 0 deletions