small code style fixes; removed left-over function call

This commit is contained in:
Adam Dunkels 2012-01-25 06:41:39 -08:00
parent 6ae8d85c09
commit acb2c28fdd

View file

@ -60,7 +60,7 @@ PROCINIT(&etimer_process, &tapdev_process, &tcpip_process, &serial_line_process)
#if RPL_BORDER_ROUTER #if RPL_BORDER_ROUTER
#include "net/rpl/rpl.h" #include "net/rpl/rpl.h"
uint16_t dag_id[] = {0x1111, 0x1100, 0, 0, 0, 0, 0, 0x0011}; static uint16_t dag_id[] = {0x1111, 0x1100, 0, 0, 0, 0, 0, 0x0011};
PROCESS(border_router_process, "RPL Border Router"); PROCESS(border_router_process, "RPL Border Router");
PROCESS_THREAD(border_router_process, ev, data) PROCESS_THREAD(border_router_process, ev, data)
@ -288,7 +288,6 @@ main(void)
#endif /* !RPL_BORDER_ROUTER */ #endif /* !RPL_BORDER_ROUTER */
#endif /* !UIP_CONF_IPV6 */ #endif /* !UIP_CONF_IPV6 */
print_processes(autostart_processes);
procinit_init(); procinit_init();
autostart_start(autostart_processes); autostart_start(autostart_processes);
@ -322,7 +321,8 @@ main(void)
return 0; return 0;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void log_message(char *m1, char *m2) void
log_message(char *m1, char *m2)
{ {
printf("%s%s\n", m1, m2); printf("%s%s\n", m1, m2);
} }