diff options
Diffstat (limited to 'lib/sockunion.c')
-rw-r--r-- | lib/sockunion.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c index 8a1fd9d2..a636c641 100644 --- a/lib/sockunion.c +++ b/lib/sockunion.c @@ -273,7 +273,7 @@ sockunion_accept (int sock, union sockunion *su) } /* Return sizeof union sockunion. */ -int +static int sockunion_sizeof (union sockunion *su) { int ret; @@ -294,7 +294,7 @@ sockunion_sizeof (union sockunion *su) } /* return sockunion structure : this function should be revised. */ -char * +static char * sockunion_log (union sockunion *su) { static char buf[SU_ADDRSTRLEN]; @@ -662,7 +662,7 @@ sockunion_getpeername (int fd) } /* Print sockunion structure */ -void +static void __attribute__ ((unused)) sockunion_print (union sockunion *su) { if (su == NULL) @@ -701,7 +701,7 @@ sockunion_print (union sockunion *su) } #ifdef HAVE_IPV6 -int +static int in6addr_cmp (struct in6_addr *addr1, struct in6_addr *addr2) { unsigned int i; |