From 240a24653cd0420e15f0db5a7c5ee03875c026a2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Dec 2007 16:33:42 +0000 Subject: [PATCH] *** empty log message *** --- src/main.C | 16 +++++++++------- src/rxvtutil.h | 3 ++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/main.C b/src/main.C index f4d55d7f..61497620 100644 --- a/src/main.C +++ b/src/main.C @@ -602,13 +602,7 @@ static struct sig_handlers /* * Catch a fatal signal and tidy up before quitting */ - void - sig_term (ev::sig &w, int revents) - { - rxvt_emergency_cleanup (); - w.stop (); - kill (getpid (), w.signum); - } + void sig_term (ev::sig &w, int revents); sig_handlers () { @@ -617,6 +611,14 @@ static struct sig_handlers } } sig_handlers; +void +sig_handlers::sig_term (ev::sig &w, int revents) +{ + rxvt_emergency_cleanup (); + w.stop (); + kill (getpid (), w.signum); +} + char **rxvt_environ; // startup environment void diff --git a/src/rxvtutil.h b/src/rxvtutil.h index 4a940635..64ff670a 100644 --- a/src/rxvtutil.h +++ b/src/rxvtutil.h @@ -364,7 +364,8 @@ bool operator< (const simplevec &v1, const simplevec &v2) template struct vector : simplevec -{ }; +{ +}; struct stringvec : simplevec { -- 2.34.1