Fork for fixes

Revision:
8:4acb22344932
Parent:
3:5b17e4656dd0
--- a/utility/uip_arp.h	Tue Apr 26 18:37:14 2016 +0000
+++ b/utility/uip_arp.h	Fri Jun 30 19:51:28 2017 +0000
@@ -39,15 +39,15 @@
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * This file is part of the uIP TCP/IP stack.
+ * This file is part of the UIP TCP/IP stack.
  *
  * $Id: uip_arp.h,v 1.5 2006/06/11 21:46:39 adam Exp $
  *
  */
 #ifndef __UIP_ARP_H__
-    #define __UIP_ARP_H__
+#define __UIP_ARP_H__
 
-    #include "uip.h"
+#include "uip.h"
 
 extern struct uip_eth_addr  uip_ethaddr;
 
@@ -61,9 +61,9 @@
     u16_t               type;
 };
 
-    #define UIP_ETHTYPE_ARP 0x0806
-    #define UIP_ETHTYPE_IP  0x0800
-    #define UIP_ETHTYPE_IP6 0x86dd
+#define UIP_ETHTYPE_ARP 0x0806
+#define UIP_ETHTYPE_IP  0x0800
+#define UIP_ETHTYPE_IP6 0x86dd
 
 /* The uip_arp_init() function must be called before any of the other
    ARP functions. */
@@ -124,16 +124,15 @@
  *
  * \hideinitializer
  */
-    #define uip_setethaddr(eaddr) \
-    do \
-    { \
+#define uip_setethaddr(eaddr) \
+    do { \
         uip_ethaddr.addr[0] = eaddr.addr[0]; \
         uip_ethaddr.addr[1] = eaddr.addr[1]; \
         uip_ethaddr.addr[2] = eaddr.addr[2]; \
         uip_ethaddr.addr[3] = eaddr.addr[3]; \
         uip_ethaddr.addr[4] = eaddr.addr[4]; \
         uip_ethaddr.addr[5] = eaddr.addr[5]; \
-    } while(0)
+    } while (0)
 
     /** @} */