diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-10-28 13:23:56 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-10-28 13:23:56 +0200 |
commit | 56fdf6de6ee00f1eb4303065c26811310a7c0728 (patch) | |
tree | ccc738f82bd91b979beb5c0b8b836f7956009d08 /src | |
parent | 8ad6cfa33d6a37605599be5673c4acecc7eca5af (diff) | |
download | ck-56fdf6de6ee00f1eb4303065c26811310a7c0728.tar.gz ck-56fdf6de6ee00f1eb4303065c26811310a7c0728.tar.bz2 ck-56fdf6de6ee00f1eb4303065c26811310a7c0728.zip |
Add manpage to readme
Diffstat (limited to 'src')
-rw-r--r-- | src/ckutil.c | 14 | ||||
-rw-r--r-- | src/ckutil.h | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/ckutil.c b/src/ckutil.c index 06d12da..79d7fd3 100644 --- a/src/ckutil.c +++ b/src/ckutil.c @@ -34,20 +34,6 @@ int util_is_dir(const char *path) { return 1; } -void util_replace_slash_with_uscore(char *s) { - if (!s) { - return; - } - int i = 0; - while (*s != '\0') { - if (*s == '/' && i != 0) { - *s = '_'; - } - s++; - i++; - } -} - int util_file_exists(const char* path, char *absPath) { if (!path || !absPath) { return 0; diff --git a/src/ckutil.h b/src/ckutil.h index 9f3cb39..8ca9ca1 100644 --- a/src/ckutil.h +++ b/src/ckutil.h @@ -78,8 +78,6 @@ extern int util_is_file_rw(const char *path); /* Returns 1 if file is link 0 otherwise */ extern int util_is_file_link(const char *path); -extern void util_replace_slash_with_uscore(char *s); - /* Wrapper around mkdir with 0775 permissions */ extern void util_mkdir(const char *path); |