summaryrefslogtreecommitdiffstats
path: root/tools/iio/iio_utils.c
diff options
context:
space:
mode:
authorJoo Aun Saw <jasaw@dius.com.au>2015-07-28 03:46:13 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-02 19:46:26 +0200
commit5e37c523921480093323c06529ab854f0635c59d (patch)
treeac29859829dc5671ebdb7b6a71cdffa67a2e75d5 /tools/iio/iio_utils.c
parenttools: iio: iio_utils: remove unnecessary define guard (diff)
downloadlinux-5e37c523921480093323c06529ab854f0635c59d.tar.xz
linux-5e37c523921480093323c06529ab854f0635c59d.zip
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/iio_utils.c')
-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;