summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
commit5156d5b462f00da3830dc6314dd74feda37f1257 (patch)
tree85ff8a96aeab5a1cdd6054f6be8a53d12d401788 /src/phmain.c
parent4a75ec8effe3e4878e7710a1322d8ed86f059c08 (diff)
Code cleanup
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");