summaryrefslogtreecommitdiff
path: root/tools/iio
diff options
context:
space:
mode:
authorJoo Aun Saw <jasaw@dius.com.au>2015-07-28 04:46:13 +0300
committerJonathan Cameron <jic23@kernel.org>2015-08-02 20:46:26 +0300
commit5e37c523921480093323c06529ab854f0635c59d (patch)
treeac29859829dc5671ebdb7b6a71cdffa67a2e75d5 /tools/iio
parent280f09256ab6f6180132da193b9f2e0b2fa61c51 (diff)
downloadlinux-5e37c523921480093323c06529ab854f0635c59d.tar.xz
tools: iio: iio_utils: Make calc_digits static
Signed-off-by: Joo Aun Saw <jasaw@dius.com.au> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio')
-rw-r--r--tools/iio/iio_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iio/iio_utils.c b/tools/iio/iio_utils.c
index 31aca9ab078b..4bbd6e7959cd 100644
--- a/tools/iio/iio_utils.c
+++ b/tools/iio/iio_utils.c
@@ -537,7 +537,7 @@ error_free_name:
return ret;
}
-int calc_digits(int num)
+static int calc_digits(int num)
{
int count = 0;