summaryrefslogtreecommitdiffstats
path: root/rose
diff options
context:
space:
mode:
Diffstat (limited to 'rose')
-rw-r--r--rose/rsdwnlnk.c3
-rw-r--r--rose/rsuplnk.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/rose/rsdwnlnk.c b/rose/rsdwnlnk.c
index 45950b3..decc06d 100644
--- a/rose/rsdwnlnk.c
+++ b/rose/rsdwnlnk.c
@@ -35,9 +35,10 @@ int main(int argc, char **argv)
{
unsigned char buffer[512], *addr;
fd_set read_fd;
- int n = 0, s, addrlen, yes = 1;
+ int n = 0, s, yes = 1;
struct full_sockaddr_ax25 axbind, axconnect;
struct sockaddr_rose rosesock, rosepeer;
+ socklen_t addrlen;
openlog("rsdwnlnk", LOG_PID, LOG_DAEMON);
diff --git a/rose/rsuplnk.c b/rose/rsuplnk.c
index c6e99dd..37c9484 100644
--- a/rose/rsuplnk.c
+++ b/rose/rsuplnk.c
@@ -36,7 +36,8 @@ int main(int argc, char **argv)
char rose_address[11];
fd_set read_fd;
int n, s, dnicindex = -1, addrindex = -1;
- int addrlen, yes = 1, verbose = 1;
+ int yes = 1, verbose = 1;
+ socklen_t addrlen;
struct sockaddr_rose rosebind, roseconnect;
struct full_sockaddr_ax25 ax25sock, ax25peer;