diff options
-rw-r--r-- | wsutil/filesystem.c | 7 | ||||
-rw-r--r-- | wsutil/filesystem.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c index 84b326e7d7..75295cb7f7 100644 --- a/wsutil/filesystem.c +++ b/wsutil/filesystem.c @@ -1889,13 +1889,6 @@ get_plugins_pers_dir(void) return get_persconffile_path(PLUGINS_DIR_NAME, FALSE); } -/* Delete a file */ -gboolean -deletefile(const char *path) -{ - return ws_unlink(path) == 0; -} - /* * Return an error message for UNIX-style errno indications on open or * create operations. diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h index 642ddf9797..4915a0ec56 100644 --- a/wsutil/filesystem.h +++ b/wsutil/filesystem.h @@ -266,9 +266,6 @@ WS_DLL_PUBLIC int test_for_directory(const char *); */ WS_DLL_PUBLIC int test_for_fifo(const char *); -/* Delete a file */ -WS_DLL_PUBLIC gboolean deletefile (const char *path); - /* * Check, if file is existing. */ |