summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phmain.c')
-rw-r--r--src/phmain.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/phmain.c b/src/phmain.c
index 3382980..226fdda 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -80,16 +80,14 @@
#include "pdisksel.h"
extern const arch_fnct_t arch_i386;
extern const arch_fnct_t arch_mac;
-extern const arch_fnct_t arch_none;
extern const arch_fnct_t arch_sun;
-extern const arch_fnct_t arch_xbox;
extern file_enable_t list_file_enable[];
#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! PhotoRec has been killed.\n");