summaryrefslogtreecommitdiffstats
path: root/main.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:24:30 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:24:30 +0000
commit54ec5ca53eb5d88daf91b3a6fafdbea43d764fa7 (patch)
treeed32990f53223b13952aa9660c83c23cfa63eb18 /main.cc
parentAdding debian version 1.6~pre3-1. (diff)
downloadlzip-54ec5ca53eb5d88daf91b3a6fafdbea43d764fa7.tar.xz
lzip-54ec5ca53eb5d88daf91b3a6fafdbea43d764fa7.zip
Merging upstream version 1.6.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index 2cb998c..52a77d9 100644
--- a/main.cc
+++ b/main.cc
@@ -541,7 +541,7 @@ int decompress( const int inhandle, const Pretty_print & pp,
}
-void signal_handler( const int ) throw()
+extern "C" void signal_handler( int ) throw()
{
show_error( "Control-C or similar caught, quitting." );
cleanup_and_fail( 0 );