[gvfs] google: Make a few functions static
- From: Ross Lagerwall <rossl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] google: Make a few functions static
- Date: Thu, 26 Nov 2015 22:08:04 +0000 (UTC)
commit 79f675a9a29675909322531c6fb3f132550e1c83
Author: Ross Lagerwall <rosslagerwall gmail com>
Date: Thu Nov 26 22:06:26 2015 +0000
google: Make a few functions static
Silence a few "no previous prototype" warnings from gcc by making the
functions static.
daemon/gvfsbackendgoogle.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gvfsbackendgoogle.c b/daemon/gvfsbackendgoogle.c
index 59e2dfe..c7ca268 100644
--- a/daemon/gvfsbackendgoogle.c
+++ b/daemon/gvfsbackendgoogle.c
@@ -107,7 +107,7 @@ static GDataEntry *resolve_dir (GVfsBackendGoogle *self,
/* ---------------------------------------------------------------------------------------------------- */
-DirEntriesKey *
+static DirEntriesKey *
dir_entries_key_new (const gchar *title_or_id, const gchar *parent_id)
{
DirEntriesKey *k;
@@ -131,7 +131,7 @@ dir_entries_key_free (gpointer data)
g_slice_free (DirEntriesKey, k);
}
-guint
+static guint
entries_in_folder_hash (gconstpointer key)
{
DirEntriesKey *k = (DirEntriesKey *) key;
@@ -143,7 +143,7 @@ entries_in_folder_hash (gconstpointer key)
return hash1 ^ hash2;
}
-gboolean
+static gboolean
entries_in_folder_equal (gconstpointer a, gconstpointer b)
{
DirEntriesKey *k_a = (DirEntriesKey *) a;
@@ -158,7 +158,7 @@ entries_in_folder_equal (gconstpointer a, gconstpointer b)
/* ---------------------------------------------------------------------------------------------------- */
-WriteHandle *
+static WriteHandle *
write_handle_new (GDataEntry *document, GDataUploadStream *stream, const gchar *filename)
{
WriteHandle *handle;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]