aboutsummaryrefslogtreecommitdiff
path: root/m.c
diff options
context:
space:
mode:
Diffstat (limited to 'm.c')
-rw-r--r--m.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/m.c b/m.c
index c8d3a23..b1401f1 100644
--- a/m.c
+++ b/m.c
@@ -2,15 +2,15 @@
uint8_t avg(int argc, uint8_t *argv)
{
- uint8_t ret = 0;
- uint64_t sum = 0;
+ uint8_t ret = 0;
+ uint64_t sum = 0;
- for(int i = 0; i < argc; i++)
- sum += (uint64_t)argv[i];
+ for(int i = 0; i < argc; i++)
+ sum += (uint64_t)argv[i];
- ret = (char)(sum / argc);
+ ret = (char)(sum / argc);
- return ret;
+ return ret;
}//avg