uip: Simplify the definition of the uip data buffer.

I think the more complex declaration was to force it to be aligned like a 32
bit value, but we can do the same thing with the "aligned" attribute.

Change-Id: I978f78ffc4ed7c83456145e6b45476598828bdd8
diff --git a/src/net/ipv4/uip/uip.c b/src/net/ipv4/uip/uip.c
index cad4b7d..5815d5d 100644
--- a/src/net/ipv4/uip/uip.c
+++ b/src/net/ipv4/uip/uip.c
@@ -106,7 +106,7 @@
 			   CONFIG_UIP_ETHADDR5}};
 
 /* The packet buffer that contains incoming packets. */
-uip_buf_t uip_aligned_buf;
+uint8_t uip_buf[CONFIG_UIP_BUFSIZE] __attribute__((aligned(4)));
 
 void *uip_appdata;               /* The uip_appdata pointer points to
 				    application data. */
diff --git a/src/net/ipv4/uip/uip.h b/src/net/ipv4/uip/uip.h
index 458c5c3..0151ea7 100644
--- a/src/net/ipv4/uip/uip.h
+++ b/src/net/ipv4/uip/uip.h
@@ -460,13 +460,7 @@
  \endcode
 */
 
-typedef union {
-  uint32_t u32[(CONFIG_UIP_BUFSIZE + 3) / 4];
-  uint8_t u8[CONFIG_UIP_BUFSIZE];
-} uip_buf_t;
-
-extern uip_buf_t uip_aligned_buf;
-#define uip_buf (uip_aligned_buf.u8)
+extern uint8_t uip_buf[CONFIG_UIP_BUFSIZE];
 
 
 /** @} */