diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-12 22:31:51 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-12 22:31:51 -0500 |
commit | 2b4ece6f99c18df090a127ec20c60ff05cbc0705 (patch) | |
tree | e8ef009433b47325520cd6b7f429409cccedce6b /cfg.c | |
parent | e38da51c14d9eaf8c53b58b3d2e33d7b37768f29 (diff) | |
download | roux-2b4ece6f99c18df090a127ec20c60ff05cbc0705.tar.gz |
use a less obtuse api for vnew()
Diffstat (limited to 'cfg.c')
-rw-r--r-- | cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c index bebf0fa..583629b 100644 --- a/cfg.c +++ b/cfg.c @@ -207,7 +207,7 @@ addfron(Blk *a, Blk *b) if (a->fron[n] == b) return; if (!a->nfron) - a->fron = vnew(++a->nfron, sizeof a->fron[0], alloc); + a->fron = vnew(++a->nfron, sizeof a->fron[0], Pfn); else vgrow(&a->fron, ++a->nfron); a->fron[a->nfron-1] = b; |