aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-01 13:08:22 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-01 13:08:22 +0000
commitbbd949c77f39d5ca561e3f59f480ccb4362283fe (patch)
treeb52932b3fdb444c445f82771cfbb33409a962d29
parent09aad8d0adf1afd67f663d4d94cb8227f5596f98 (diff)
downloadpaludis-bbd949c77f39d5ca561e3f59f480ccb4362283fe.tar.gz
paludis-bbd949c77f39d5ca561e3f59f480ccb4362283fe.tar.xz
Add noreturn to sigterm_handler
-rw-r--r--src/output/console_install_task.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index 7164a18..ff6c604 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -65,6 +65,8 @@ namespace
std::list<ConsoleInstallTask *> tasks;
Mutex tasks_mutex;
+ void sigterm_handler(int sig) PALUDIS_ATTRIBUTE((noreturn));
+
void sigterm_handler(int sig)
{
cout << endl;