summaryrefslogtreecommitdiff
path: root/src/trg-prefs.c
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 20:25:45 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commit0646e115fd635e0b96739ea39e65c0ef78ffaa30 (patch)
tree14651704a28f0c5c6a6b26d95d6c8cf7617e93a1 /src/trg-prefs.c
parent2f7f7e916963d3a2f31dcabd34fbb50b562230aa (diff)
Fix numerous warnings/errors
Diffstat (limited to 'src/trg-prefs.c')
-rw-r--r--src/trg-prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-prefs.c b/src/trg-prefs.c
index 811c575..643e2a1 100644
--- a/src/trg-prefs.c
+++ b/src/trg-prefs.c
@@ -172,7 +172,7 @@ TrgPrefs *trg_prefs_new(void)
return g_object_new(TRG_TYPE_PREFS, NULL);
}
-static JsonObject *trg_prefs_new_profile_object()
+static JsonObject *trg_prefs_new_profile_object(void)
{
return json_object_new();
}
@@ -493,7 +493,7 @@ JsonObject *trg_prefs_get_root(TrgPrefs * p)
return priv->userObj;
}
-void trg_prefs_empty_init(TrgPrefs * p)
+static void trg_prefs_empty_init(TrgPrefs * p)
{
TrgPrefsPrivate *priv = p->priv;
JsonArray *profiles = json_array_new();