Fix sparse warnings in probes.c
authorAlexander Aksenov <a.aksenov@samsung.com>
Wed, 6 Feb 2013 13:50:08 +0000 (17:50 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Wed, 6 Feb 2013 13:50:08 +0000 (17:50 +0400)
driver/probes.c

index 4d98b95..7d242c3 100644 (file)
@@ -58,7 +58,7 @@ const char *ec_probe_name[] = {
 };
 
 //TODO: the same function should be used from utils.cpp
-int name2index (unsigned *p_index, unsigned count, const char **names, const char *name)
+static int name2index (unsigned *p_index, unsigned count, const char **names, const char *name)
 {
        unsigned index;
        for (index = 0; index < count; ++index) {