From 886112e202000a0683f94eb3e496c031e7f660bf Mon Sep 17 00:00:00 2001 From: Stephan Gatzka Date: Fri, 7 Feb 2014 17:26:31 +0100 Subject: [PATCH] Make udp_physical_addr() and udp_protocol_addr() static. They aren't used outside udp.c Signed-off-by: Stephan Gatzka --- udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/udp.c b/udp.c index be7f2b7..9628291 100644 --- a/udp.c +++ b/udp.c @@ -238,7 +238,7 @@ static void udp_release(struct transport *t) free(udp); } -int udp_physical_addr(struct transport *t, uint8_t *addr) +static int udp_physical_addr(struct transport *t, uint8_t *addr) { struct udp *udp = container_of(t, struct udp, t); if (udp->mac_len) @@ -246,7 +246,7 @@ int udp_physical_addr(struct transport *t, uint8_t *addr) return udp->mac_len; } -int udp_protocol_addr(struct transport *t, uint8_t *addr) +static int udp_protocol_addr(struct transport *t, uint8_t *addr) { struct udp *udp = container_of(t, struct udp, t); if (udp->ip_len)