summaryrefslogtreecommitdiffstats
path: root/ax25ipd/ax25ipd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25ipd/ax25ipd.c')
-rw-r--r--ax25ipd/ax25ipd.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c
index a7068f0..28e5c38 100644
--- a/ax25ipd/ax25ipd.c
+++ b/ax25ipd/ax25ipd.c
@@ -43,9 +43,6 @@ int dual_port; /* addition for dual port flag */
static jmp_buf restart_env;
-/* Prototypes */
-void hupper(int);
-
static int opt_version;
static int opt_loglevel;
static int opt_nofork;
@@ -63,6 +60,12 @@ static struct option options[] = {
{NULL, 0, NULL, 0}
};
+static void hupper(int i)
+{
+ printf("\nSIGHUP!\n");
+ longjmp(restart_env, 1);
+}
+
static void greet_world(void)
{
printf("\nax25ipd %s / %s\n", VERSION);
@@ -240,12 +243,6 @@ static void do_stats(void)
loglevel = save_loglevel;
}
-void hupper(int i)
-{
- printf("\nSIGHUP!\n");
- longjmp(restart_env, 1);
-}
-
void usr1_handler(int i)
{
printf("\nSIGUSR1!\n");