bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-ddrescue] [PATCH 3/5] io: Add missing prototype


From: Rosen Penev
Subject: [Bug-ddrescue] [PATCH 3/5] io: Add missing prototype
Date: Fri, 2 Aug 2019 14:52:34 -0700

Found with -Wmissing-prototypes

Signed-off-by: Rosen Penev <address@hidden>
---
 io.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/io.cc b/io.cc
index f8fbdbf..fc1f1d0 100644
--- a/io.cc
+++ b/io.cc
@@ -34,6 +34,7 @@ namespace {
 
 int volatile signum_ = 0;              // user pressed Ctrl-C or similar
 
+extern "C" void sighandler( int signum );
 extern "C" void sighandler( int signum )
   { if( signum_ == 0 && signum > 0 ) signum_ = signum; }
 
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]