From: Alexander Aksenov Date: Wed, 6 Feb 2013 13:50:08 +0000 (+0400) Subject: Fix sparse warnings in probes.c X-Git-Tag: accepted/tizen/mobile/20160407.001200~822 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27a7cda5e6c582812c1813131546dc1199376c78;p=platform%2Fkernel%2Fswap-modules.git Fix sparse warnings in probes.c --- 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) {