~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to signal.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-06-07 17:30:03 UTC
  • mto: (16.2.1 experimental) (2.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090607173003-rg37ui3h2bbv7wl0
Tags: upstream-1.5.19
ImportĀ upstreamĀ versionĀ 1.5.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
static int IsEndwin = 0;
36
36
 
37
37
/* Attempt to catch "ordinary" signals and shut down gracefully. */
38
 
RETSIGTYPE exit_handler (int sig)
 
38
static RETSIGTYPE exit_handler (int sig)
39
39
{
40
40
  curs_set (1);
41
41
  endwin (); /* just to be safe */
55
55
  exit (0);
56
56
}
57
57
 
58
 
RETSIGTYPE chld_handler (int sig)
 
58
static RETSIGTYPE chld_handler (int sig)
59
59
{
60
60
  /* empty */
61
61
}
62
62
 
63
 
RETSIGTYPE sighandler (int sig)
 
63
static RETSIGTYPE sighandler (int sig)
64
64
{
65
65
  int save_errno = errno;
66
66