From ac63ffebb85ddedba57dd763ec7a72715b7ca179 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 28 Sep 2017 12:25:05 -0600 Subject: [PATCH] More minor cleanup after laster squashed merge. --- net/route/net_queue_ramroute.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/route/net_queue_ramroute.c b/net/route/net_queue_ramroute.c index f1fd9065ed..8fc611f5b5 100644 --- a/net/route/net_queue_ramroute.c +++ b/net/route/net_queue_ramroute.c @@ -42,6 +42,8 @@ #include "route/ramroute.h" #include "route/route.h" +#if defined(CONFIG_ROUTE_IPv4_RAMROUTE) || defined(CONFIG_ROUTE_IPv6_RAMROUTE) + /**************************************************************************** * Public Functions ****************************************************************************/ @@ -223,3 +225,5 @@ FAR struct net_route_ipv6_entry_s * return ret; } #endif + +#endif /* CONFIG_ROUTE_IPv4_RAMROUTE || CONFIG_ROUTE_IPv4_RAMROUTE */