diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-05-03 11:55:12 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-05-03 11:55:12 +0200 |
commit | 099c4db0a3a8e77deb7af7436faec802fe9401de (patch) | |
tree | 80611d2f441e1c1652e37421c835140dc783a85e /m.c | |
parent | bdcbb4816251b726f37c995880d1517196fb822b (diff) | |
download | AsciiMap-099c4db0a3a8e77deb7af7436faec802fe9401de.tar.gz |
Fixing whitespace errors
Diffstat (limited to 'm.c')
-rw-r--r-- | m.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |