summaryrefslogtreecommitdiffstats
path: root/ax25rtd
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-07-25 21:53:29 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-07-25 21:53:29 +0200
commitf4a142c0031a15f9a6532d9d910d66d3911f5adf (patch)
tree4c76c7f64e5062bd6e453b4a1fbf03be46ac8634 /ax25rtd
parentc0329673fa987eb2d493babb54c8aaa86ac7f9b3 (diff)
Compress multiple blank lines into single lines.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25rtd')
-rw-r--r--ax25rtd/ax25rtctl.c1
-rw-r--r--ax25rtd/ax25rtd.h1
-rw-r--r--ax25rtd/cache_ctl.c2
-rw-r--r--ax25rtd/config.c5
-rw-r--r--ax25rtd/listener.c2
5 files changed, 0 insertions, 11 deletions
diff --git a/ax25rtd/ax25rtctl.c b/ax25rtd/ax25rtctl.c
index ba3c1ee..344f862 100644
--- a/ax25rtd/ax25rtctl.c
+++ b/ax25rtd/ax25rtctl.c
@@ -265,7 +265,6 @@ static void debug(void)
fd_set read_fds, write_fds;
struct timeval tv;
-
sock = open_socket();
while (1) {
diff --git a/ax25rtd/ax25rtd.h b/ax25rtd/ax25rtd.h
index ce73680..a662acc 100644
--- a/ax25rtd/ax25rtd.h
+++ b/ax25rtd/ax25rtd.h
@@ -50,7 +50,6 @@
#define AXLEN 7
#define IPLEN 20
-
/* structs for the caches */
typedef struct ip_rt_entry_ {
diff --git a/ax25rtd/cache_ctl.c b/ax25rtd/cache_ctl.c
index 6882a24..baac073 100644
--- a/ax25rtd/cache_ctl.c
+++ b/ax25rtd/cache_ctl.c
@@ -123,7 +123,6 @@ int update_ip_route(config * config, unsigned long ip, int ipmode,
return action;
}
-
ax25_rt_entry *update_ax25_route(config * config, ax25_address * call,
int ndigi, ax25_address * digi,
time_t timestamp)
@@ -302,7 +301,6 @@ int del_ax25_route(config * config, ax25_address * call)
return 1;
}
-
void expire_ax25_route(time_t when)
{
ax25_rt_entry *bp;
diff --git a/ax25rtd/config.c b/ax25rtd/config.c
index 272da80..a483a15 100644
--- a/ax25rtd/config.c
+++ b/ax25rtd/config.c
@@ -64,7 +64,6 @@ static long asc2ip(char *s)
return addr.s_addr;
}
-
static char *prepare_cmdline(char *buf)
{
char *p;
@@ -139,7 +138,6 @@ static ax25_address *get_mycall(char *port)
return asc2ax(addr);
}
-
static void load_ports(void)
{
config *config, *cfg, *ncfg;
@@ -227,7 +225,6 @@ static void load_listeners(void)
FILE *fp;
ax25_address *axcall;
-
fp = fopen(PROC_AX25_FILE, "r");
if (fp == NULL) {
@@ -509,7 +506,6 @@ void reload_config(void)
load_config();
}
-
/* commands:
---------
@@ -540,7 +536,6 @@ void reload_config(void)
over the port name.
*/
-
void interpret_command(int fd, char *buf)
{
char *p, *cmd, *arg, *arg2, *dev, *time;
diff --git a/ax25rtd/listener.c b/ax25rtd/listener.c
index 1d9aa1f..8a4ecf9 100644
--- a/ax25rtd/listener.c
+++ b/ax25rtd/listener.c
@@ -45,7 +45,6 @@
#include <stdlib.h>
-
/* FIXME */
static unsigned long get_from_arp(unsigned char *data, int size)
{
@@ -472,7 +471,6 @@ void ax25_receive(int sock)
else
return;
-
SKIP(ALEN);
}