diff options
Diffstat (limited to 'ax25rtd')
-rw-r--r-- | ax25rtd/ax25rtctl.c | 1 | ||||
-rw-r--r-- | ax25rtd/ax25rtd.h | 1 | ||||
-rw-r--r-- | ax25rtd/cache_ctl.c | 2 | ||||
-rw-r--r-- | ax25rtd/config.c | 5 | ||||
-rw-r--r-- | ax25rtd/listener.c | 2 |
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); } |