diff options
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); |