diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-12 16:59:46 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-12 16:59:46 -0800 |
commit | 0369b1505b019becfb74ccd9c82f9f7700af377a (patch) | |
tree | 2aee8181da2e419d882cae1d5a3ff5a2c45bcc93 /src/libbio/newick.c | |
parent | ce05175372a9ddca1a225db0765ace1127a39293 (diff) |
chore: error->int
Diffstat (limited to 'src/libbio/newick.c')
-rw-r--r-- | src/libbio/newick.c | 10 |
1 files changed, 5 insertions, 5 deletions
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); |