summaryrefslogtreecommitdiffstats
path: root/src/testdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdisk.c')
-rw-r--r--src/testdisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdisk.c b/src/testdisk.c
index 125703b..a404fbc 100644
--- a/src/testdisk.c
+++ b/src/testdisk.c
@@ -71,10 +71,10 @@ extern const arch_fnct_t arch_mac;
extern const arch_fnct_t arch_sun;
#ifdef HAVE_SIGACTION
-struct sigaction action;
-void sighup_hdlr(int sig);
+static struct sigaction action;
+static void sighup_hdlr(int sig);
-void sighup_hdlr(int sig)
+static void sighup_hdlr(int sig)
{
if(sig == SIGINT)
log_critical("SIGINT detected! TestDisk has been killed.\n");