diff options
author | ozan yigit <ozan.yigit@gmail.com> | 2023-10-30 19:52:30 -0400 |
---|---|---|
committer | ozan yigit <ozan.yigit@gmail.com> | 2023-10-30 19:52:30 -0400 |
commit | d9ad01cd66f6f126bb86a12016e5f4408e35b0c6 (patch) | |
tree | fe4823f07783d6e51e151f2acd82ab95f3e8d6bc | |
parent | f38a02c8be0c605467cbff2c953a8d1c2cebdebc (diff) | |
parent | 14d0e87c4ea81f4bcea409155e3e999a30d32862 (diff) | |
download | one-true-awk-d9ad01cd66f6f126bb86a12016e5f4408e35b0c6.tar.gz |
todd miller's code cleanup
-rw-r--r-- | run.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1349,7 +1349,7 @@ int format(char **pbuf, int *pbufsize, const char *s, Node *a) /* printf-like co int i; if (ljust) { // print one char from t, then pad blanks - for (int i = 0; i < n; i++) + for (i = 0; i < n; i++) *p++ = t[i]; for (i = 0; i < pad; i++) { //printf(" "); @@ -1360,7 +1360,7 @@ int format(char **pbuf, int *pbufsize, const char *s, Node *a) /* printf-like co //printf(" "); *p++ = ' '; } - for (int i = 0; i < n; i++) + for (i = 0; i < n; i++) *p++ = t[i]; } *p = 0; |