summaryrefslogtreecommitdiff
path: root/plugins/filesystem.c
diff options
context:
space:
mode:
authorDmitriy Paliy <dmitriy.paliy@nokia.com>2010-11-11 22:46:20 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-11-11 23:21:05 +0200
commit68fb987d03b31d693caa9b1e3c62397e5d0be301 (patch)
tree7bb9b981c0cfecda2706ce1231dbedb4d7ced10b /plugins/filesystem.c
parent19be2e3a9b704ecf176dd4f033f798991cb01959 (diff)
downloadobexd-68fb987d03b31d693caa9b1e3c62397e5d0be301.tar.gz
Make string_free private to filesystem plugin
string_free is a callback function specific to filesystem plugin only. It is used by OBEX drivers when closing OBEX object and not API exposed to other plugins. g_string_free can be used instead of it when required.
Diffstat (limited to 'plugins/filesystem.c')
-rw-r--r--plugins/filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/filesystem.c b/plugins/filesystem.c
index bf00ac2..bb758ab 100644
--- a/plugins/filesystem.c
+++ b/plugins/filesystem.c
@@ -474,7 +474,7 @@ static void *pcsuite_open(const char *name, int oflag, mode_t mode,
return append_listing(object, name, TRUE, size, err);
}
-int string_free(void *object)
+static int string_free(void *object)
{
GString *string = object;