Fix coding style.

This commit is contained in:
Nicolas Tsiftes 2011-12-08 15:42:19 +01:00
parent 1e61fca653
commit a4a7fd7dc0
2 changed files with 7 additions and 7 deletions

View file

@ -5,9 +5,9 @@
/** /**
* \file * \file
* IPv6 data structures handling functions * IPv6 data structures handling functions.
* Comprises part of the Neighbor discovery (RFC 4861) * Comprises part of the Neighbor discovery (RFC 4861)
* and auto configuration (RFC 4862 )state machines * and auto configuration (RFC 4862) state machines.
* \author Mathilde Durvy <mdurvy@cisco.com> * \author Mathilde Durvy <mdurvy@cisco.com>
* \author Julien Abeille <jabeille@cisco.com> * \author Julien Abeille <jabeille@cisco.com>
*/ */
@ -785,7 +785,7 @@ uip_ds6_route_add(uip_ipaddr_t *ipaddr, uint8_t length, uip_ipaddr_t *nexthop,
locroute->metric = metric; locroute->metric = metric;
#ifdef UIP_DS6_ROUTE_STATE_TYPE #ifdef UIP_DS6_ROUTE_STATE_TYPE
memset (&(locroute->state),0,sizeof(UIP_DS6_ROUTE_STATE_TYPE)); memset(&locroute->state, 0, sizeof(UIP_DS6_ROUTE_STATE_TYPE));
#endif #endif
PRINTF("DS6: adding route: "); PRINTF("DS6: adding route: ");

View file

@ -69,7 +69,7 @@
static uip_ipaddr_t tmp_ipaddr; static uip_ipaddr_t tmp_ipaddr;
#if UIP_CONF_IPV6_RPL #if UIP_CONF_IPV6_RPL
int rpl_invert_header(void); #include "rpl/rpl.h"
#endif /* UIP_CONF_IPV6_RPL */ #endif /* UIP_CONF_IPV6_RPL */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/