From 4b4cee0c0c99f531a45157fd27f5441e511db109 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 25 Sep 2020 21:06:59 +0200 Subject: Replace file/getline usage with istream Signed-off-by: David Oberhollenzer --- include/fstree.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/fstree.h') diff --git a/include/fstree.h b/include/fstree.h index 6628540..884ff51 100644 --- a/include/fstree.h +++ b/include/fstree.h @@ -153,15 +153,12 @@ tree_node_t *fstree_add_generic(fstree_t *fs, const char *path, tree from it. File input paths are interpreted as relative to the current working directory. - Data is read from the given file pointer. The filename is only used for - producing error messages. - On failure, an error report with filename and line number is written to stderr. Returns 0 on success. */ -int fstree_from_file(fstree_t *fs, const char *filename, FILE *fp); +int fstree_from_file(fstree_t *fs, const char *filename); /* This function performs all the necessary post processing steps on the file -- cgit v1.2.3