From 0369b1505b019becfb74ccd9c82f9f7700af377a Mon Sep 17 00:00:00 2001 From: Nicholas Date: Fri, 12 Nov 2021 16:59:46 -0800 Subject: chore: error->int --- src/libbio/newick.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libbio/newick.c') diff --git a/src/libbio/newick.c b/src/libbio/newick.c index 5e6d30a..bc768fd 100644 --- a/src/libbio/newick.c +++ b/src/libbio/newick.c @@ -174,10 +174,10 @@ struct Parser }; static -error +int parse(struct Parser *p) { - error err; + int err; bio·Node *node; bio·Node *root; struct Token tok; @@ -332,7 +332,7 @@ ERROR: int bio·readnewick(io·Peeker stream, void *s, bio·Tree *tree) { - error err; + int err; struct Parser p; if (!tree) { @@ -369,7 +369,7 @@ bio·readnewick(io·Peeker stream, void *s, bio·Tree *tree) // Write static -error +int dump(bio·Node *node, void *impl, io·Putter out) { byte b[24]; @@ -403,7 +403,7 @@ dump(bio·Node *node, void *impl, io·Putter out) return 0; } -error +int bio·writenewick(bio·Tree tree, io·Putter out, void* impl) { dump(tree.root, impl, out); -- cgit v1.2.1