summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ax25ipd/ax25ipd.c21
-rw-r--r--ax25ipd/ax25ipd.h1
2 files changed, 10 insertions, 12 deletions
diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c
index 12d6064..a7068f0 100644
--- a/ax25ipd/ax25ipd.c
+++ b/ax25ipd/ax25ipd.c
@@ -63,6 +63,16 @@ static struct option options[] = {
{NULL, 0, NULL, 0}
};
+static void greet_world(void)
+{
+ printf("\nax25ipd %s / %s\n", VERSION);
+ printf
+ ("Copyright 1991, Michael Westerhof, Sun Microsystems, Inc.\n");
+ printf
+ ("This software may be freely used, distributed, or modified, providing\nthis header is not removed\n\n");
+ fflush(stdout);
+}
+
int main(int argc, char **argv)
{
if (setjmp(restart_env) == 0) {
@@ -187,17 +197,6 @@ int main(int argc, char **argv)
return 0;
}
-
-void greet_world(void)
-{
- printf("\nax25ipd %s / %s\n", VERSION);
- printf
- ("Copyright 1991, Michael Westerhof, Sun Microsystems, Inc.\n");
- printf
- ("This software may be freely used, distributed, or modified, providing\nthis header is not removed\n\n");
- fflush(stdout);
-}
-
static void do_stats(void)
{
int save_loglevel;
diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h
index d554b3e..58541cb 100644
--- a/ax25ipd/ax25ipd.h
+++ b/ax25ipd/ax25ipd.h
@@ -177,7 +177,6 @@ int ok_crc(unsigned char *, int);
/* ax25ipd.c */
int main(int, char **);
-void greet_world(void);
void hupper(int);
void usr1_handler(int);
void int_handler(int);