From: root Date: Tue, 4 Dec 2007 16:33:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=240a24653cd0420e15f0db5a7c5ee03875c026a2;p=dana%2Furxvt.git *** empty log message *** --- 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 {