summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoo Aun Saw <jasaw@dius.com.au>2015-07-28 11:46:13 +1000
committerJonathan Cameron <jic23@kernel.org>2015-08-02 18:46:26 +0100
commit5e37c523921480093323c06529ab854f0635c59d (patch)
treeac29859829dc5671ebdb7b6a71cdffa67a2e75d5
parent280f09256ab6f6180132da193b9f2e0b2fa61c51 (diff)
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>
-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;