From e0e9a63e63f3d2edc38b2f0f303a48464479867d Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 19 May 2009 18:11:01 +0000 Subject: [PATCH] Corrected function implementation of ip_current_* (void was missing) --- src/core/ipv4/ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ipv4/ip.c b/src/core/ipv4/ip.c index f2545040..18a8e812 100644 --- a/src/core/ipv4/ip.c +++ b/src/core/ipv4/ip.c @@ -76,7 +76,7 @@ static const struct ip_hdr *current_header; * @param pcb Pointer to the pcb receiving a packet. */ struct netif * -ip_current_netif() +ip_current_netif(void) { return current_netif; } @@ -90,7 +90,7 @@ ip_current_netif() * @param pcb Pointer to the pcb receiving a packet. */ const struct ip_hdr * -ip_current_header() +ip_current_header(void) { return current_header; }