Put extern in beginning of declaration
This fixes a -Wold-style-declaration warning
which is included in -Wextra.
* This file is part of the Contiki operating system.
*
*/
-/* exeperimental code, will be renamed to sensors.c when done */
-
#include <string.h>
#include "lib/sensors.h"
-const extern struct sensors_sensor *sensors[];
+extern const struct sensors_sensor *sensors[];
extern unsigned char sensors_flags[];
#define FLAG_CHANGED 0x80
