about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command.c2
-rw-r--r--src/profanity.c7
2 files changed, 1 insertions, 8 deletions
diff --git a/src/command.c b/src/command.c
index b30e9cae..d5245e0d 100644
--- a/src/command.c
+++ b/src/command.c
@@ -272,7 +272,7 @@ static struct cmd_t setting_commands[] =
           "Config file section : [ui]",
           "Config file value :   showsplash=true|false",
           NULL } } },
-    
+
     { "/vercheck",
         _cmd_vercheck,
         { "/vercheck [on|off]", "Check for a new release.",
diff --git a/src/profanity.c b/src/profanity.c
index 1045662b..c13e13a9 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -44,7 +44,6 @@ static void _create_config_directory();
 static void _free_roster_entry(jabber_roster_entry *entry);
 static void _init(const int disable_tls, char *log_level);
 static void _shutdown_init(void);
-static void _shutdown(void);
 
 void
 prof_run(const int disable_tls, char *log_level)
@@ -302,12 +301,6 @@ _shutdown_init(void)
         jabber_free_resources();
     }
 
-    _shutdown();
-}
-
-static void
-_shutdown(void)
-{
     contact_list_clear();
     gui_close();
     chat_log_close();