repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: ce1f711af066ef43a2c56d52abf90f4314859f23: path_to: revision_to:
commit ce1f711af066ef43a2c56d52abf90f4314859f23 Author: Marc LehmannDate: Tue Dec 4 16:33:42 2007 +0000 *** empty log message *** diff --git a/src/main.C b/src/main.C
--- 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
--- 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 {
-----END OF PAGE-----