about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-05-10 10:12:02 +0100
committerJames Booth <boothj5@gmail.com>2012-05-10 10:12:02 +0100
commitd32398bdf11b09c8d425c87567a2edd4b5f9bea3 (patch)
treee028cfa8fa0a83d516d0bc9a8a795c4e1fc94235
parentf621787e51d27d3541345cdaba4d2a0f920400f9 (diff)
downloadprofani-tty-d32398bdf11b09c8d425c87567a2edd4b5f9bea3.tar.gz
Made _save_prefs static
-rw-r--r--preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/preferences.c b/preferences.c
index 32790225..0190e35f 100644
--- a/preferences.c
+++ b/preferences.c
@@ -26,7 +26,7 @@
 static GString *prefs_loc;
 static GKeyFile *prefs;
 
-void _save_prefs(void);
+static void _save_prefs(void);
 
 void prefs_load(void)
 {
@@ -64,7 +64,7 @@ void prefs_set_flash(gboolean value)
     _save_prefs();
 }
 
-void _save_prefs(void)
+static void _save_prefs(void)
 {
     gsize g_data_size;
     char *g_prefs_data = g_key_file_to_data(prefs, &g_data_size, NULL);