diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-04-02 01:07:35 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-04-02 01:07:57 +0200 |
commit | a772248e1a2f0886d8479b2f14392f020ea8c6e0 (patch) | |
tree | 2890d5a6ae9c5ff120ae6c42bb044baf9e8f226c /lib/fstree/fstree_from_file.c | |
parent | 5de40ee8216c7a3ddb2bf88570f798c8ac4f40f8 (diff) |
Import the remaining utility files into VisualStudio project
- The libcommon print verion function requires the PACKAGE_NAME and
PACKAGE_VERSION defines. Those are added manually to the msvc stub
of config.h.
- Also, libcommon cannot directly include getopt.h
- libfstree needs to change the return type for getline
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/fstree_from_file.c')
-rw-r--r-- | lib/fstree/fstree_from_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstree/fstree_from_file.c b/lib/fstree/fstree_from_file.c index bf11755..d2f1c68 100644 --- a/lib/fstree/fstree_from_file.c +++ b/lib/fstree/fstree_from_file.c @@ -282,8 +282,8 @@ out_desc: int fstree_from_file(fstree_t *fs, const char *filename, FILE *fp) { size_t n, line_num = 0; - ssize_t ret; char *line; + int ret; for (;;) { line = NULL; |