From 8d72ffe268305a823057053f6a172ac7debee3b0 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Sat, 15 Feb 2020 21:10:46 +0200 Subject: add a wrapper for closing files. Signed-off-by: Gediminas Jakutis --- src/io.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index efc3f94..79216f2 100644 --- a/src/io.h +++ b/src/io.h @@ -11,6 +11,7 @@ struct stream { char *name; }; -int openstream(struct stream *in); +int stream_open(struct stream *in); +int stream_close(struct stream *in); #endif /* ALGOS_IO_H_INCLUDED */ -- cgit v1.2.3