From 3d60024f9b9086adb6baea77f97b16b89e56aaba Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 17 Sep 2017 17:44:14 +0200 Subject: [PATCH] Reformat if_api.c using astylerc --- src/api/if_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/if_api.c b/src/api/if_api.c index e1730ae9..8e094d09 100644 --- a/src/api/if_api.c +++ b/src/api/if_api.c @@ -3,7 +3,7 @@ * Interface Identification APIs from: * RFC 3493: Basic Socket Interface Extensions for IPv6 * Section 4: Interface Identification - * + * * @defgroup if_api Interface Identification API * @ingroup socket */ @@ -51,7 +51,7 @@ /** * @ingroup if_api * Maps an interface index to its corresponding name. - * @param ifindex interface index + * @param ifindex interface index * @param ifname shall point to a buffer of at least {IF_NAMESIZE} bytes * @return If ifindex is an interface index, then the function shall return the * value supplied in ifname, which points to a buffer now containing the interface name. @@ -88,7 +88,7 @@ lwip_if_nametoindex(const char *ifname) #if LWIP_NETIF_API err_t err; u8_t idx; - + err = netifapi_netif_name_to_index(ifname, &idx); if (!err) { return idx;