diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c7230b..f825b7d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ ## CHANGELOG -### Unpublished +### v0.1.1 (2020-11-07) +* Internal functions are now namespaced with _fsio prefix. +* c_string_buffer upgraded to 0.1.4 * Improved build setup (no need to list test names). ### v0.1.0 (2020-09-25) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d4d559..1a5a37b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ macro(add_external_lib) LIBRARY_PARENT_DIRECTORY target ) endmacro(add_external_lib) -add_external_lib("string_buffer" "v0.1.3") +add_external_lib("string_buffer" "v0.1.4") include_directories(include "${STRING_BUFFER_INCLUDE}") diff --git a/src/fsio.c b/src/fsio.c index 132f7d5..51670d1 100644 --- a/src/fsio.c +++ b/src/fsio.c @@ -8,18 +8,18 @@ #include -bool _write_text_file(char *, char *, char *); +bool _fsio_write_text_file(char *, char *, char *); bool fsio_write_text_file(char *file, char *text) { - return(_write_text_file(file, text, "w")); + return(_fsio_write_text_file(file, text, "w")); } bool fsio_append_text_file(char *file, char *text) { - return(_write_text_file(file, text, "a")); + return(_fsio_write_text_file(file, text, "a")); } @@ -126,7 +126,7 @@ bool fsio_mkdirs(char *directory, mode_t mode) } -bool _write_text_file(char *file, char *text, char *mode) +bool _fsio_write_text_file(char *file, char *text, char *mode) { if (file == NULL || text == NULL) {