summaryrefslogtreecommitdiffstats
path: root/main.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:24:20 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:24:20 +0000
commitf1eee6d491a84850317722457f9cbfafc9e86150 (patch)
treebad3e67de4e6bef3a4e638c8581b3eda98aa1226 /main.cc
parentAdding upstream version 1.6~pre3. (diff)
downloadlzip-f1eee6d491a84850317722457f9cbfafc9e86150.tar.xz
lzip-f1eee6d491a84850317722457f9cbfafc9e86150.zip
Adding upstream version 1.6.upstream/1.6
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-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 );