[tracker/wip/carlosg/resources-as-cursors: 2/18] libtracker-sparql: Add missing static-ness to static functions
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/resources-as-cursors: 2/18] libtracker-sparql: Add missing static-ness to static functions
- Date: Mon, 11 Jul 2022 18:57:49 +0000 (UTC)
commit 59189df71ed9dbd5c862f3a0cfd5dcc04bb929a1
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jul 2 19:28:39 2022 +0200
libtracker-sparql: Add missing static-ness to static functions
These should be declared static so they remain internal to their
objects. Oops.
src/libtracker-sparql/tracker-deserializer-turtle.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-deserializer-turtle.c
b/src/libtracker-sparql/tracker-deserializer-turtle.c
index 2b366ca89..b82157256 100644
--- a/src/libtracker-sparql/tracker-deserializer-turtle.c
+++ b/src/libtracker-sparql/tracker-deserializer-turtle.c
@@ -832,7 +832,7 @@ tracker_deserializer_turtle_iterate_next (TrackerDeserializerTurtle *deserializ
}
}
-TrackerSparqlValueType
+static TrackerSparqlValueType
tracker_deserializer_turtle_get_value_type (TrackerSparqlCursor *cursor,
gint column)
{
@@ -861,7 +861,7 @@ tracker_deserializer_turtle_get_value_type (TrackerSparqlCursor *cursor,
}
}
-const gchar *
+static const gchar *
tracker_deserializer_turtle_get_string (TrackerSparqlCursor *cursor,
gint column,
glong *length)
@@ -882,7 +882,7 @@ tracker_deserializer_turtle_get_string (TrackerSparqlCursor *cursor,
}
}
-gboolean
+static gboolean
tracker_deserializer_turtle_next (TrackerSparqlCursor *cursor,
GCancellable *cancellable,
GError **error)
@@ -892,7 +892,7 @@ tracker_deserializer_turtle_next (TrackerSparqlCursor *cursor,
return tracker_deserializer_turtle_iterate_next (deserializer, error);
}
-void
+static void
tracker_deserializer_turtle_rewind (TrackerSparqlCursor* cursor)
{
TrackerDeserializerTurtle *deserializer = TRACKER_DESERIALIZER_TURTLE (cursor);
@@ -914,7 +914,7 @@ tracker_deserializer_turtle_close (TrackerSparqlCursor* cursor)
TRACKER_SPARQL_CURSOR_CLASS (tracker_deserializer_turtle_parent_class)->close (cursor);
}
-gboolean
+static gboolean
tracker_deserializer_turtle_get_parser_location (TrackerDeserializer *deserializer,
goffset *line_no,
goffset *column_no)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]