no warnings in lib-sys anymore
[apps/madmutt.git] / lib-sys / mutt_signal.c
index 4807fa1..25cfe6e 100644 (file)
@@ -20,7 +20,7 @@ static struct sigaction SysOldQuit;
 static int IsEndwin = 0;
 
 /* Attempt to catch "ordinary" signals and shut down gracefully. */
 static int IsEndwin = 0;
 
 /* Attempt to catch "ordinary" signals and shut down gracefully. */
-RETSIGTYPE exit_handler (int sig)
+static RETSIGTYPE exit_handler (int sig)
 {
   curs_set (1);
   endwin ();                    /* just to be safe */
 {
   curs_set (1);
   endwin ();                    /* just to be safe */
@@ -40,12 +40,12 @@ RETSIGTYPE exit_handler (int sig)
   exit (0);
 }
 
   exit (0);
 }
 
-RETSIGTYPE chld_handler(int sig __attribute__((unused)))
+static RETSIGTYPE chld_handler(int sig __attribute__((unused)))
 {
   /* empty */
 }
 
 {
   /* empty */
 }
 
-RETSIGTYPE sighandler (int sig)
+static RETSIGTYPE sighandler (int sig)
 {
   int save_errno = errno;
 
 {
   int save_errno = errno;