aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
commit76a8fab4adc293982f355609b89dde88d5f355e0 (patch)
treeb8fe58ce54cade4122402c57328a9691064b2590 /src/main.c
parent0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (diff)
downloadmpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.gz
mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.xz
mpd-76a8fab4adc293982f355609b89dde88d5f355e0.zip
fix function prototypes
Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 022802c80..6a6ba34f3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -108,7 +108,7 @@ update_xterm_title(void)
}
}
-void
+static void
exit_and_cleanup(void)
{
screen_exit();
@@ -128,14 +128,15 @@ exit_and_cleanup(void)
g_timer_destroy(timer);
}
-void
+static void
catch_sigint( int sig )
{
printf("\n%s\n", _("Exiting..."));
exit(EXIT_SUCCESS);
}
-void
+
+static void
catch_sigcont( int sig )
{
D("catch_sigcont()\n");