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. --- plugins/filesystem.c | 2 +- plugins/filesystem.h | 1 - 2 files changed, 1 insertions(+), 2 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; diff --git a/plugins/filesystem.h b/plugins/filesystem.h index 712653f..9c7ad9a 100644 --- a/plugins/filesystem.h +++ b/plugins/filesystem.h @@ -21,5 +21,4 @@ * */ -int string_free(void *object); ssize_t string_read(void *object, void *buf, size_t count); -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html