summary refs log tree commit diff
path: root/cfg.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2023-03-22 11:43:42 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2023-03-22 11:43:46 +0100
commit5fee3da6ac3b4995f0d9a6cef3a5e916208cca59 (patch)
tree84befbce5a3a2422792aa32db54e474f9e724aae /cfg.c
parenteb9fcece9e622712a60ad306ae83f4ac4a2a3571 (diff)
downloadroux-5fee3da6ac3b4995f0d9a6cef3a5e916208cca59.tar.gz
rename blknew() to newblk()
This is consistent with newtmp()
and newcon().
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg.c b/cfg.c
index d12f6c8..406c307 100644
--- a/cfg.c
+++ b/cfg.c
@@ -1,7 +1,7 @@
 #include "all.h"
 
 Blk *
-blknew()
+newblk()
 {
 	static Blk z;
 	Blk *b;
@@ -299,7 +299,7 @@ simpljmp(Fn *fn)
 	Blk **uf; /* union-find */
 	Blk **p, *b, *ret;
 
-	ret = blknew();
+	ret = newblk();
 	ret->id = fn->nblk++;
 	ret->jmp.type = Jret0;
 	uf = emalloc(fn->nblk * sizeof uf[0]);