aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-18 00:51:22 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-18 00:51:22 +0000
commit67d4aaaa10bac6dc1fd6f239ec1157cea96bc5c1 (patch)
tree51566763c561b7880b7b474593d113152bdc30fc
parent061831b3db1ea432673fff90a70880b0ee13b044 (diff)
Get rid of unused trivial wrapper routine.
svn path=/trunk/; revision=53403
-rw-r--r--wsutil/filesystem.c7
-rw-r--r--wsutil/filesystem.h3
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.
*/