summaryrefslogtreecommitdiffstats
path: root/ax25rtd
diff options
context:
space:
mode:
Diffstat (limited to 'ax25rtd')
-rw-r--r--ax25rtd/ax25rtctl.c2
-rw-r--r--ax25rtd/ax25rtd.c2
-rw-r--r--ax25rtd/ax25rtd.h6
-rw-r--r--ax25rtd/cache_ctl.c2
-rw-r--r--ax25rtd/config.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/ax25rtd/ax25rtctl.c b/ax25rtd/ax25rtctl.c
index 60cca95..d54e235 100644
--- a/ax25rtd/ax25rtctl.c
+++ b/ax25rtd/ax25rtctl.c
@@ -306,8 +306,8 @@ static void debug(void)
int main(int argc, char **argv)
{
int sock, cmd, k, len;
- unsigned char buf[256];
int opt_ind = 0;
+ char buf[256];
long when;
cmd = getopt_long(argc, argv, sopts, lopts, &opt_ind);
diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c
index 5b40228..b0b288c 100644
--- a/ax25rtd/ax25rtd.c
+++ b/ax25rtd/ax25rtd.c
@@ -126,7 +126,7 @@ void daemon_shutdown(int reason)
int main(int argc, char **argv)
{
- unsigned char buf[256];
+ char buf[256];
int size, s, cntrl_s, cntrl_fd;
socklen_t cntrl_len;
struct sockaddr_un cntrl_addr;
diff --git a/ax25rtd/ax25rtd.h b/ax25rtd/ax25rtd.h
index 4f09aae..18ab421 100644
--- a/ax25rtd/ax25rtd.h
+++ b/ax25rtd/ax25rtd.h
@@ -56,7 +56,7 @@
typedef struct ip_rt_entry_ {
struct ip_rt_entry_ *next, *prev;
unsigned long ip;
- unsigned char iface[14];
+ char iface[14];
ax25_address call;
char ipmode;
time_t timestamp;
@@ -65,7 +65,7 @@ typedef struct ip_rt_entry_ {
typedef struct ax25_rt_entry_ {
struct ax25_rt_entry_ *next, *prev;
- unsigned char iface[14];
+ char iface[14];
ax25_address call;
ax25_address digipeater[AX25_MAX_DIGIS];
int ndigi;
@@ -127,7 +127,7 @@ void load_config(void);
void reload_config(void);
void load_cache(void);
void save_cache(void);
-void interpret_command(int fd, unsigned char *buf);
+void interpret_command(int fd, char *buf);
/* listener.c */
diff --git a/ax25rtd/cache_ctl.c b/ax25rtd/cache_ctl.c
index 0a80387..444fc08 100644
--- a/ax25rtd/cache_ctl.c
+++ b/ax25rtd/cache_ctl.c
@@ -130,7 +130,7 @@ ax25_rt_entry *update_ax25_route(config * config, ax25_address * call,
{
ax25_rt_entry *bp = ax25_routes;
ax25_rt_entry *bp_prev = ax25_routes;
- unsigned char *iface = config->dev;
+ char *iface = config->dev;
int action = 0;
while (bp) {
diff --git a/ax25rtd/config.c b/ax25rtd/config.c
index e328f56..c85b2b2 100644
--- a/ax25rtd/config.c
+++ b/ax25rtd/config.c
@@ -541,7 +541,7 @@ void reload_config(void)
*/
-void interpret_command(int fd, unsigned char *buf)
+void interpret_command(int fd, char *buf)
{
char *p, *cmd, *arg, *arg2, *dev, *time;
ax25_address digipeater[AX25_MAX_DIGIS];