Cleanup of the node-id.h files. The node-id.h file contains

declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
This commit is contained in:
Adam Dunkels 2012-11-20 19:57:20 +01:00
parent 9392ece509
commit ec8c7e9be0
46 changed files with 37 additions and 433 deletions

View file

@ -21,7 +21,7 @@
#endif
#include "contiki-net.h"
#include "node-id.h"
#include "sys/node-id.h"
int node_rank;