From 27a7cda5e6c582812c1813131546dc1199376c78 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Wed, 6 Feb 2013 17:50:08 +0400 Subject: [PATCH] Fix sparse warnings in probes.c --- driver/probes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/probes.c b/driver/probes.c index 4d98b95..7d242c3 100644 --- a/driver/probes.c +++ b/driver/probes.c @@ -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) { -- 2.7.4